diff --git a/www/js/services/cache-services.js b/www/js/services/cache-services.js
index 48736f2ea3688b7d87697de23c4a4463d44594b3..0f132e761390bc7db7e7676d972f6e655d639fbe 100644
--- a/www/js/services/cache-services.js
+++ b/www/js/services/cache-services.js
@@ -11,7 +11,8 @@ angular.module('cesium.cache.services', ['angular-cache'])
       SHORT: csSettings.defaultSettings.cacheTimeMs // around 1min
     },
     storageMode = getSettingsStorageMode(),
-    cacheNames = []
+    cacheNames = [],
+    listeners = []
   ;
 
   function getSettingsStorageMode(settings) {
@@ -100,7 +101,7 @@ angular.module('cesium.cache.services', ['angular-cache'])
 
   function addListeners() {
     listeners = [
-      // Listen if node changed
+      // Listen for settings changed (e.g. the storage mode)
       csSettings.api.data.on.changed($rootScope, onSettingsChanged, this)
     ];
   }
diff --git a/www/templates/settings/settings.html b/www/templates/settings/settings.html
index 9be97a6fd8ada91d7a3a3653baf6fbafc1606201..85edf849b8b11865330abe3d3eac55d2e48bbb57 100644
--- a/www/templates/settings/settings.html
+++ b/www/templates/settings/settings.html
@@ -244,7 +244,7 @@
           </label>
         </div>
 
-        <!-- Block validity window-->
+        <!-- Block validity window -->
         <label class="item item-input item-select item-text-wrap">
           <div class="input-label hidden-xs">
             <span translate>SETTINGS.BLOCK_VALIDITY_WINDOW</span>