Add unit tests for webrtc.js
Embed the xmpp gateway in the server