improve index.html example