Update index.html

Write the js script into the html file