Add an error handler for overpass AJAX calls