updates game.js