Peer-to-Peer filesharing in pure client-side Javascript