small fix to js/quickblox.js