Added call to addMarkers function and renamed xhr listener