I’ve already gone through this, I set the javascript helper in the global context of the window in my TDD, I took a picture to help you