Cleaned up the index.html

Moved a js script out of the index.html to make it look cleaner.
Merge pull request #46 from Tuxinet/master

Cleaned up index.html