My brain jumps straight to a javascript port of clojure. Potentially one with a websockets bridge between some of the concurrency primitives. Set a future on the server from the browser, use the promise to update an agent on the server again, that kind of thing.<p>The implementation would be nine kinds of hell but it would make for a fascinating development environment.