Optimized google maps code.  Reviewed by Ian McCracken