Update index.html

Move to settimeout