Tweaked game.js