Javascript Peer implementation of the Jet Protocol