diff --git a/IPython/html/static/notebook/js/main.js b/IPython/html/static/notebook/js/main.js
index 4659b30..a1e07ff 100644
--- a/IPython/html/static/notebook/js/main.js
+++ b/IPython/html/static/notebook/js/main.js
@@ -18,6 +18,7 @@ require([
'notebook/js/savewidget',
'notebook/js/keyboardmanager',
'notebook/js/config',
+ // only loaded, not used:
'custom/custom',
], function(
IPython,
diff --git a/IPython/html/static/tree/js/main.js b/IPython/html/static/tree/js/main.js
index d71c328..5c0b018 100644
--- a/IPython/html/static/tree/js/main.js
+++ b/IPython/html/static/tree/js/main.js
@@ -12,6 +12,7 @@ require([
'tree/js/sessionlist',
'tree/js/kernellist',
'auth/js/loginwidget',
+ // only loaded, not used:
'jqueryui',
'bootstrap',
'custom/custom',