Re: JS based CAD, there's also replicad, which I've used previously and found to be really good.

https://replicad.xyz/