Update index.html

fix example code to fulfill demo.