Add comments to xmpp.js