Distributed computing in JavaScript