cloning realtime-multiplayer-in-html5 by underscorediscovery as a starting point