Clean up lib/node-xmpp.js