Web XMPP Chat code sample for QuickBlox