Thomas Krijnen has been doing some excellent work making #IfcOpenShell ready for the web. Check out https://wasm.ifcopenshell.org/ for a demo of natively authoring an #IFC model.