diff --git a/plup.js b/plup.js
index 1e89fd8..767115d 100644
--- a/plup.js
+++ b/plup.js
@@ -25,6 +25,9 @@
 
   Drupal.behaviors.plup = {
     attach: function(context, settings) {
+      if (typeof settings.plup == 'undefined') {
+        return;
+      }
 
       // Apply Plupload to each form element instance
       $.each(settings.plup, function(plupName, plupInstance) {
