Update index.html

Updated index for function triggerOnActiveElement