I’ve created a separate post regarding WebAssembly and using a custom HTML template:
If you are having issues with a custom template, please reply to that thread!