fixing js brackets in game.js