diff --git picturefill/picturefill.js picturefill/picturefill.js
index ea31e392bda2554e672ad37a4ba76b08a0d1dff3..ebe00f1e4f9a2dbcb80003204d11a4e975ef59ae 100644
--- picturefill/picturefill.js
+++ picturefill/picturefill.js
@@ -107,17 +107,8 @@
     }
   };
 
-  // Run on resize and domready (w.load as a fallback)
+  // Run on resize
   if( w.addEventListener ){
     w.addEventListener( "resize", w.picturefill, false );
-    w.addEventListener( "DOMContentLoaded", function(){
-      w.picturefill();
-      // Run once only
-      w.removeEventListener( "load", w.picturefill, false );
-    }, false );
-    w.addEventListener( "load", w.picturefill, false );
-  }
-  else if( w.attachEvent ){
-    w.attachEvent( "onload", w.picturefill );
   }
 })( this );
\ No newline at end of file
diff --git picturefill/resp_img.js picturefill/resp_img.js
new file mode 100644
index 0000000000000000000000000000000000000000..4bd344137df3e77f6e178a6f39cbd773e174a2df
--- /dev/null
+++ picturefill/resp_img.js
@@ -0,0 +1,10 @@
+(function ($) {
+  
+  Drupal.behaviors.resp_img = {
+    attach: function (context) {
+      window.picturefill();
+      alert('test');
+    }
+  };
+
+})(jQuery);
diff --git resp_img.module resp_img.module
index dc71b65cf5f4ed09851b49846a9a00e528995d90..3c7f0aa51e1f09226b22b80ed54172f961c89534 100644
--- resp_img.module
+++ resp_img.module
@@ -149,6 +149,7 @@ function resp_img_add_js() {
     $added = TRUE;
     drupal_add_js(drupal_get_path('module', 'resp_img') . '/picturefill/matchmedia.js', array('type' => 'file', 'weight' => -10, 'group' => JS_DEFAULT));
     drupal_add_js(drupal_get_path('module', 'resp_img') . '/picturefill/picturefill.js', array('type' => 'file', 'weight' => -10, 'group' => JS_DEFAULT));
+    drupal_add_js(drupal_get_path('module', 'resp_img') . '/picturefill/resp_img.js', array('type' => 'file', 'weight' => -10, 'group' => JS_DEFAULT));
   }
 }
 
