simplejson is no longer used in Django 1.5. I don't think we need the dependency in viewshare either.
Modify dialogs.html template to use quoted 'url' templatetag.