I've always thought that Sun missed a huge trick in not getting the JVM adopted as the heart of language programming in all browsers.
Javascript could run on top of the JVM embedded within the browser.