Hello, I'm trying to move my existing project to Intel XDK. I've succesfully moved my preload state that is working, but I can't start next state. Please take a look at my code, probably it is some scope problem (usually i have problems with that ) So in index.html I load the scripts :   <script src="lib/phaser.min.js"></script> <!-- Load game source files --> <script src="src/Game.js"></script> <script src = "src/preload.js"></scrip