changes to game.js