Update index.html

Added javascript