CRM-10693 HR-310 - Case and other ajax fixes