Update index.html

Moved back to JS