Replace SAX Parser with something in pure js
It's disingenuous to say all the transport protocols are in js w/ this hanging around, https://github.com/mozilla/releases-comm-central/blob/master/chat/protocols/xmpp/xmpp-xml.jsm#L314
An option is, https://github.com/aredridel/html5/tree/master/lib/sax