Update index.html

finished checkbox functions