Ugly hacks to use the node-irc lib in the browser, as an extension.