Moved code

I moved the main game code from index.html to game.js and added an empty
"update" function.