Most of the code should work on the HTML export, the main issue would be the shaders.
Ok sounds great, would it be hard to work around that or it just primarily rewriting code?