Update index.html

Overwrite 'dummy' script with transition function.