Configure spring exception handler advice for ajax calls.