Update game.js

some changes