Updated game.js

bug fix