Moved Logic out of HTML file into JS File

-game is now completely contained in JS files
-to add it to a web page just include jquery and the game.js script in
an HTML file
-the index.html file is now just a dummy file