corrected game.js