Update index.html

added js code