CRM-15713 - Case ajax fixes