fix friendly error messages for ajax responses