Update index.html

Fix func names in example.