If you are seeing this message, JavaScript did not run.
This usually means the file was opened in a preview window rather than a real browser.
On iPhone, save it to Files, then open Safari, and use
File → Open — or better, open the hosted web address.