Use 3rd party JS libraries (including JQuery), call Javascript functions, access object properties and methods. Implement game objects, and algorithms in Javasc...
Also could you send me the minimum ptoject file that still reproduces the problem? I'll look into it