Update index.html

At the moment these functions are "hard wired" into the coverpop.js file.