Moved js to game.js.