you're welcome
Also, there is a way to make porting easier but you'll need to learn a bit of programming, this will only work if a source code for the mod exists.
Anyways, if you have the source code, you can make it in HTML5 but you need to do some programming stuff, I recommend looking at a tutorial.
I tried searching it up several times and didn't really find much that could help, hopefully, you can find something yourself!