game.js loading from another page