Update index.html

DRY up js code