$(document).ready(function () {
	localStorage.clear()
	jsxc.options.set('favicon', {enable: false});
	jsxc.options.set('otr', {enable: false});
	jsxc.options.set('favicon', {enable: false});
	jsxc.options.set('xmpp', {'url': '/index.php/apps/ojsxc/http-bind'});
	jsxc.storage.setItem('debug', true);
	jsxc.storage.setItem('sid', '7862');
	jsxc.storage.setItem('rid', '897878733');
	jsxc.storage.setItem('lastActivity', (new Date()).getTime());
	jsxc.storage.setItem('jid', OC.currentUser + '@' + OC.getHost());
});
/* global OC */

jsxc.options.xmpp.url = OC.generateUrl('apps/ojsxc/http-bind');

clean up oc-backend.js