Moved everything but the script out of index.html