basic AJAX call and response for map pins