Clean up code
Clean up lib/xmpp/bosh.js
Clean up lib/xmpp/jid.js