I would find support for ES6 modules also very interesting, so that I can use
nim to create ES6 modules, basically letting a nim package correspond to a
module. Treating JavaScript like WebAssembly doesn't make too much sense, in my
opinion: Why not compile just to WebAssembly then, if you are not exploiting
what JavaScript itself has to offer? In fact, I find nim so interesting because
it allows to target both JavaScript and WebAssembly, and not just one of them,
like all the other tools out there!