revert to working game.js