Fixed map extension to use gmaps loaded callback instead of polling.
Lets us load map extension faster.