>I fail to see the benefit of building a jvm to run in a javascript engine.
That's because you picked a very specific example to suit your argument.
How about seing the benefit of building games to run in the browser with near native speed? Or something like Mathematica? Or an image editor, etc etc...
I would rather see effort to develop a better language than JS for the web. Now someone will bring up emscripten and dart...