Remove unnecessary code from game.js