Update index.html

changed button function