Update index.html

added an example object in JS.