I worked with a computer scientist once, and he tested out lots of languages for replacing his VB setup (I know, I was surprised too). JS turned out to be the fastest language for a lot of his tests. If the libraries ever get there, it will be lethal. Presumably there might be a way to compile java libraries to JS using Rhino, but its not something I've ever investigated.