diff --git a/modules/geolocation_googlemaps/geolocation_googlemaps_dynamic_formatter.js b/modules/geolocation_googlemaps/geolocation_googlemaps_dynamic_formatter.js
index c21fbc4..e4d33eb 100644
--- a/modules/geolocation_googlemaps/geolocation_googlemaps_dynamic_formatter.js
+++ b/modules/geolocation_googlemaps/geolocation_googlemaps_dynamic_formatter.js
@@ -14,6 +14,13 @@
   Drupal.behaviors.geolocationGooglemapsDynamicFormatter = {
 
     attach : function(context, settings) {
+      if (typeof google == 'undefined') {
+        setTimeout($.proxy(function () {
+          this.attach.call(this, context, settings);
+        }, this), 100);
+
+        return;
+      }
 
       var fields = Drupal.settings.geolocationGooglemaps.formatters;
 
diff --git a/modules/geolocation_googlemaps/geolocation_googlemaps_widget.js b/modules/geolocation_googlemaps/geolocation_googlemaps_widget.js
index fac2b83..772faef 100644
--- a/modules/geolocation_googlemaps/geolocation_googlemaps_widget.js
+++ b/modules/geolocation_googlemaps/geolocation_googlemaps_widget.js
@@ -201,6 +201,13 @@
 
   Drupal.behaviors.geolocationGooglemaps = {
     attach: function(context, settings) {
+      if (typeof google == 'undefined') {
+        setTimeout($.proxy(function () {
+          this.attach.call(this, context, settings);
+        }, this), 100);
+
+        return;
+      }
       geocoder = new google.maps.Geocoder();
 
       var lat;
