game.js cleanup