diff --git a/IPython/html/templates/page.html b/IPython/html/templates/page.html
index 6ec18f4..ab4ca9d 100644
--- a/IPython/html/templates/page.html
+++ b/IPython/html/templates/page.html
@@ -30,7 +30,6 @@
moment: 'components/moment/moment',
codemirror: 'components/codemirror',
termjs: 'components/term.js/src/term',
- contents: '{{ contents_js_source }}',
},
shim: {
underscore: {
@@ -54,6 +53,14 @@
}
}
});
+
+ require.config({
+ map: {
+ '*':{
+ 'contents': '{{ contents_js_source }}',
+ }
+ }
+ });
{% block meta %}