A torrent management server in javascript