diff --git a/lib/gulp-helpers.js b/lib/gulp-helpers.js
index f1b26203ecd55d4c9583a73bd52770dd4aefb1fe..46ce8a90594a19a8e8d00f3bebade754d01cd157 100644
--- a/lib/gulp-helpers.js
+++ b/lib/gulp-helpers.js
@@ -70,7 +70,18 @@ function bundleEs2015(inputFile, outFile, production) {
         inputFile = glob.sync('./spec/**/*.js');
     }
 
-    var bundler = browserify(inputFile);
+    var bundler = browserify({
+        entries: inputFile,
+        cache: {},
+        packageCache: {},
+        debug: true
+    });
+
+    bundler.transform(babelify.configure({
+        global: true,
+        presets: ["es2015"],
+        ignore: /ol\-build\.js|jquery\.min|\/node_modules\/(?!webmapsjs\/)/
+    }));
 
     if (!production) {
         bundler = watchify(bundler);
diff --git a/package.json b/package.json
index 31b439044aa30cd4202d1ea29cc2c5fb96b2184f..a50eaef49c46e4218e0af7d465f068027ae4738a 100644
--- a/package.json
+++ b/package.json
@@ -60,19 +60,5 @@
     "vinyl-buffer": "^1.0.0",
     "vinyl-source-stream": "^1.1.0",
     "watchify": "^3.7.0"
-  },
-  "browserify": {
-    "debug": true,
-    "transform": [
-      [
-        "babelify",
-        {
-          "presets": [
-            "es2015"
-          ],
-          "ignore": ["ol-build.js",  "jquery.min"]
-        }
-      ]
-    ]
   }
 }
diff --git a/projects/itsMap.js b/projects/itsMap.js
index bab4a7c3f1adda96ec4b8d9c4f352000dc65e015..3e6beac2aea31297235b02a855cedf1854491d9f 100644
--- a/projects/itsMap.js
+++ b/projects/itsMap.js
@@ -24,3 +24,8 @@ let layerArray = [
 ];
 
 let legend = new LayerLegend(layerArray, 'legend-container', {});
+
+
+
+
+
diff --git a/src/gulp-helpers.js b/src/gulp-helpers.js
index 64fa781629083a821adcedea12fa0931338a4ca0..567560a417653486078046827677c93490ca7aa8 100644
--- a/src/gulp-helpers.js
+++ b/src/gulp-helpers.js
@@ -67,10 +67,17 @@ export function bundleEs2015(inputFile, outFile, production) {
         {
             entries: inputFile,
             cache: {},
-            packageCache: {}
+            packageCache: {},
+            debug: true
         }
     );
 
+    bundler.transform(babelify.configure({
+        global: true,
+        presets: ["es2015"],
+        ignore: /ol\-build\.js|jquery\.min|\/node_modules\/(?!webmapsjs\/)/
+    }));
+
     if (!production) {
         bundler = watchify(bundler);
     }