Update index.html

Fixed scripting errors.