Update index.html

Add miscellaneous function.