diff --git c/js/display_editor.js w/js/display_editor.js
index 53274f6..dd4a954 100644
--- c/js/display_editor.js
+++ w/js/display_editor.js
@@ -9,7 +9,7 @@
 // randomly lock a pane.
 // @debug only
 Drupal.settings.Panels = Drupal.settings.Panels || {};
-
+Drupal.Panels = Drupal.Panels || {};
 
 /** Delete pane button **/
 Drupal.Panels.bindClickDelete = function(context) {
diff --git c/js/layout.js w/js/layout.js
index e54fd02..9f7c505 100644
--- c/js/layout.js
+++ w/js/layout.js
@@ -5,6 +5,8 @@
  */
 
 (function ($) {
+  Drupal.Panels = Drupal.Panels || {};
+
   Drupal.Panels.Layout = {};
   Drupal.Panels.Layout.autoAttach = function() {
     $('div.form-item div.layout-icon').click(function() {
