[django_hijax] fixed issue when detecthing html content type