Update index.html

added call to on loaded to body