It does not work out of box because webassembly cannot directly access local file system due to security reason. But I think we can use some api to talk to JavaScript. It's just an early experiment, more work needs to be done.
webasm do not have access to the OS, one need to specialise TeXmacs to work better in the browser. For the moment this is just an early experiment which shows some hope.