@TOTBWF already has a proof of concept compile to JS. We could use this editor: https://microsoft.github.io/monaco-editor/