To run web assembly demo on web browser, first run script "webserver". It will run a web server on local machine on port 80. It will likely require root password.
This server sends required headers to enable SharedArrayBuffer on which threads implementations apparently relies.