Move JS to game.js