game.js error fixed