Added a check in Map to prevent it from being defined when not relevant

This is a minor optimization for increasing pageload speeds for non-map reliant vises because Map actually connects to google outside of its constructor.

#1701