Mozilla’s latest beta version of the Firefox browser, Firefox Nightly, makes calls between the WebAssembly binary format and JavaScript faster, so it is easier to combine the two languages.
If you are in a controlled environment and you know nothing else is going to be setting the onload event, you can register (Page.RegisterStartupScript) a script that will both set the body.onload ...