diff --git a/lms/templates/main_django.html b/lms/templates/main_django.html
index 20514b4ce4..f5ee06d280 100644
--- a/lms/templates/main_django.html
+++ b/lms/templates/main_django.html
@@ -3,34 +3,37 @@
{% block title %}edX{% endblock %}
+
{% compressed_css 'application' %}
{% compressed_js 'main_vendor' %}
-
{% block headextra %}{% endblock %}
{% render_block "css" %}
-
+
+
+
-
{% include "navigation.html" %}
-
{% block body %}{% endblock %}
-
{% block bodyextra %}{% endblock %}
+
{% include "footer.html" %}
{% compressed_js 'application' %}
{% compressed_js 'module-js' %}
+
{% render_block "js" %}
diff --git a/lms/templates/wiki/base.html b/lms/templates/wiki/base.html
index 8a9686f546..22b107104b 100644
--- a/lms/templates/wiki/base.html
+++ b/lms/templates/wiki/base.html
@@ -31,6 +31,9 @@
{% addtoblock 'js' %}
{% comment %} These scripts load at the bottom of the body {% endcomment %}
+
diff --git a/lms/templates/wiki/preview_inline.html b/lms/templates/wiki/preview_inline.html
index a5c6668d16..2f09d21bd3 100644
--- a/lms/templates/wiki/preview_inline.html
+++ b/lms/templates/wiki/preview_inline.html
@@ -41,6 +41,10 @@
{% compressed_js 'application' %}
{% compressed_js 'module-js' %}
+
+
{% with mathjax_mode='wiki' %}
{% include "mathjax_include.html" %}
{% endwith %}