Attempt at simple XMPP chat client within Firefox