However you must understand that WebASM can not access to
* DOM
* Network
* WebGL
* WebAudio
* GC
* Any JavaScript Object
It can only do [+, -, *, /, read, write] of [int8, int16, int32, int64, float32, float64] and make calls to JavaScript methods with simple nuberic signature like Math.sqrt. Also it can make calls.
In the scale of thing the Java -> WebAssembly is probably relatively easy bit?