An exception occurred when running wasm

I test running a simple wasm project. It’s running fine but after a few second it trigger an error from Fire. Here is the error message:
An exception occurred in wasm, thread 0001

Type: TypeError

Message:

TypeError: program.HelloWorld is not a function
at http://127.0.0.1:52398/index.html:14:12
at

Call Stack:

FFFFFFFFFFFFFFFF, , index.html, http://127.0.0.1:52398/index.html:14, http://127.0.0.1:52398/index.html:14

How does index.html line look and how does the Elements side of it look (whatever program points to specifically)?

I just create new project from template and run it. Here is the html in the project:

View source in chrome:

typo in the template. make sure the case matches for HelloWorld. my apologies, fixed for the next build.