CORS client code for Map and Street View