Send all the contacts in the element to the server for storage using AJAX