Clean game.js file