Jquery ajax data. Display errors if there are any.