From static to Javascript Google Maps API