And now, four years later, we have to eat our words, because we now have C++ to JavaScript compilers and browsers that can run a subset of JavaScript at a reasonable fraction of native speeds.
So, for anyone stumbling across this thread, we now have (the beginnings of) a WebGL port: