Edit AJAX call for leaflet map