add googlemaps javascript logic