moved googlemaps js code in separate file