Whichever it is it can't be worse than implementing other languages in Javascript directly or using stuff like GWT and there are plenty of those already (including development for running Perl 6, btw).
Runtime for a few selected implementations should be very well be packaged or installed along with the browser itself. Failing that, it should be cached.