Updated demo function name in index.html