update territory builder for current version of google maps jsapi