Update index.html

added onLoad function