diff --git a/docs/_includes/head.html b/docs/_includes/head.html
index c90f3072db..28550bbe66 100644
--- a/docs/_includes/head.html
+++ b/docs/_includes/head.html
@@ -15,15 +15,6 @@
-
-
-
-
-
-
-
-
-
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index 9fe410d54a..8637522433 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -31,5 +31,21 @@
+
+
+
+
+
+
+
+
+
+
+{% if page.additional_js %}
+{% for js in page.additional_js %}
+
+{% endfor %}
+{% endif %}
+