` ); $('#person_success_messages').empty().append(data.message); $('#person_success_messages').removeClass('fade'); }, error: function (data) { $('#add_photo_url_errors').empty(); if (data.responseJSON) { $('#add_photo_url_errors').empty(); Object.values(data.responseJSON.errors).forEach(function (e) { $('#add_photo_url_errors').append(`