Fixed problem with some table views

Change-Id: I26aaaca1e9a8fc158d6a2758f14c4a41f6747953
diff --git a/dev/js/src/hint/foundries.js b/dev/js/src/hint/foundries.js
index 8ece056..f37cb7d 100644
--- a/dev/js/src/hint/foundries.js
+++ b/dev/js/src/hint/foundries.js
@@ -1,7 +1,8 @@
 window.KorAP = window.KorAP || {};
 KorAP.annotationHelper = KorAP.annotationHelper || { '-' : [] };
 
-define(function () {
+define([], function () {
+  "use strict";
 
   const ah = KorAP.annotationHelper;
 
@@ -53,13 +54,16 @@
         };
       };
 
-      // Nothinmg found
+      // Nothing found
       if (text.length === 0)
         return;
 
       // Check next level
       anno = this[foundryLayer + l1];
 
+      if (!anno)
+        return;
+
       l2 += ' ';
 
       // Add value description