JS in head

Added javascript into the index.html file
Merge pull request #1 from sparkeruea/patch-1

JS in head