check for django.jQuery existence before using it
Merge pull request #3319 from xavfernandez/develop

check for django.jQuery existence before using it