Updated game.js