diff --git a/frontend-js/src/main/js/map/marker/MarkerSurfaceCollection.js b/frontend-js/src/main/js/map/marker/MarkerSurfaceCollection.js
index f7397fc3a04cd1e5084050f6aab26f574976548e..e92e4744a2fcfd27512a4eec7cdc9bc77ebe2761 100644
--- a/frontend-js/src/main/js/map/marker/MarkerSurfaceCollection.js
+++ b/frontend-js/src/main/js/map/marker/MarkerSurfaceCollection.js
@@ -1,6 +1,5 @@
 "use strict";
 
-var AbstractMarker = require('./AbstractMarker');
 var AliasMarker = require('./AliasMarker');
 var IdentifiedElement = require('../data/IdentifiedElement');
 var PointMarker = require('./PointMarker');
@@ -238,7 +237,6 @@ MarkerSurfaceCollection.prototype.removeUnmodifiedSurfaces = function (modifiedM
   var surfaceOverlaysPerType = this._overlaySurfaces[dbOverlay.getName()];
   for (var key in surfaceOverlaysPerType) {
     if (surfaceOverlaysPerType.hasOwnProperty(key)) {
-      var mapOverlay = surfaceOverlaysPerType[key];
       if (!modifiedSurfaces[key]) {
         surfaceOverlaysPerType[key].setMap(null);
         delete surfaceOverlaysPerType[key];