Clean up lib/xmpp/router.js