Now you just need to compile a JavaScript interpreter from C++ to WebAssembly... Makes me think of “The Birth & Death of JavaScript” talk [1].
[1] https://www.destroyallsoftware.com/talks/the-birth-and-death...
[1] https://www.destroyallsoftware.com/talks/the-birth-and-death...
Or good depending on the perspective of course.