JS version now reconnects all XMPP accounts