fixed function name in .html file