update to game.js