Update index.html

Turn on/off algorithm