update index.html example code