Think it would be possible to make a plugin which compiles both a js and wasmjs distributable and then generates a ktor server that serves either the js or wasmjs web app based on the browser agent? (that way you can automatically serve the wasmjs build when the browser supports it?) Has anyone done anything like that?