Added game.js and fixes