Update index.html

added an example object in JS.
Merge pull request #1 from clhenrick/master

Update index.html