Removed the game code from the html

Moving it to game.js