A p2p chess game in Javascript