diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index 58aed9f3cdc218c788f99f8daadeb429fafcf0fc..48796f29598b72d062695c6b396ed7d8372df57d 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -42,8 +42,11 @@ DataTable.initNewDataTables = function () {
     $('div.dataTable').each(function () {
         if (!$(this).attr('id')) {
             var tableType = $(this).attr('data-table-type') || 'DataTable',
-                klass = require('piwik/UI')[tableType] || require(tableType),
-                table = new klass(this);
+                klass = require('piwik/UI')[tableType] || require(tableType);
+
+            if (klass && $.isFunction(klass)) {
+                var table = new klass(this);
+            }
         }
     });
 };
diff --git a/tests/PHPUnit/UI b/tests/PHPUnit/UI
index 095ff782b96231e7e14e24d6654196c857ec4ee5..993f9ce6bbeb6ad9f0a3ac173114198befa86fcc 160000
--- a/tests/PHPUnit/UI
+++ b/tests/PHPUnit/UI
@@ -1 +1 @@
-Subproject commit 095ff782b96231e7e14e24d6654196c857ec4ee5
+Subproject commit 993f9ce6bbeb6ad9f0a3ac173114198befa86fcc