Right. We might as well just compile our JS to Java.
Instead of using web tech to build native apps I think we should focus on improving browsers so that web apps behave more like native apps and have the same capabilities.
Browsers should be the cross-platform VM and webassembly is a good step in that direction.