game.js updated