added demo code to index.html
Merge pull request #1 from mrev/master

updated index.html with demo