Google Maps script bug