Webassembly does not generate JavaScript IR. Not sure where you got that idea. Maybe you're thinking of asm.js?