diff --git a/lib/scripts/drag.js b/lib/scripts/drag.js
index 197835f5346ff0c707e00d6c82700593db1a93cd..4726b77de93f1cc264f7802c8de351e120849a23 100644
--- a/lib/scripts/drag.js
+++ b/lib/scripts/drag.js
@@ -6,7 +6,7 @@
  *
  * @link http://nofunc.org/Drag_Drop/
  */
-drag = {
+var drag = {
     obj: null,
     handle: null,
     oX: 0,  // object X position