Update index.html

added auto-init