Improved test coverage for panel system

Change-Id: I93e9da490dac3b30ecba764e9f42f4bbf6aa571c
diff --git a/dev/js/src/view.js b/dev/js/src/view.js
index 0a47f0b..aabad29 100644
--- a/dev/js/src/view.js
+++ b/dev/js/src/view.js
@@ -5,8 +5,8 @@
 
 define(['buttongroup', 'util'], function (buttonGroupClass) {
 
-  const loc   = KorAP.Locale;
-  loc.CLOSE     = loc.CLOSE     || 'Close';
+  const loc = KorAP.Locale;
+  loc.CLOSE = loc.CLOSE     || 'Close';
   
 
   return {
@@ -53,6 +53,7 @@
       if (this._classes)
         cl.add.apply(cl, this._classes);
 
+      // TODO: The show may need to be wrapped in another DIV!
       if (this.show !== undefined)
         e.appendChild(this.show());
 
@@ -86,7 +87,6 @@
         this.onClose();
     },
 
-
     /**
      * Upgrade this object to another object,
      * while private data stays intact.