diff --git a/themes-default/slim/views/IRC.mako b/themes-default/slim/views/IRC.mako
index d095c003b8..7f8ca77d71 100644
--- a/themes-default/slim/views/IRC.mako
+++ b/themes-default/slim/views/IRC.mako
@@ -1,4 +1,17 @@
<%inherit file="/layouts/main.mako"/>
+<%block name="scripts">
+
+%block>
<%block name="content">
<%
from medusa import app
diff --git a/themes-default/slim/views/markdown.mako b/themes-default/slim/views/markdown.mako
index 2ea437ad44..a99bf210e0 100644
--- a/themes-default/slim/views/markdown.mako
+++ b/themes-default/slim/views/markdown.mako
@@ -1,4 +1,17 @@
<%inherit file="/layouts/main.mako"/>
+<%block name="scripts">
+
+%block>
<%block name="content">
${data}
%block>
diff --git a/themes/dark/templates/IRC.mako b/themes/dark/templates/IRC.mako
index d095c003b8..7f8ca77d71 100644
--- a/themes/dark/templates/IRC.mako
+++ b/themes/dark/templates/IRC.mako
@@ -1,4 +1,17 @@
<%inherit file="/layouts/main.mako"/>
+<%block name="scripts">
+
+%block>
<%block name="content">
<%
from medusa import app
diff --git a/themes/dark/templates/markdown.mako b/themes/dark/templates/markdown.mako
index 2ea437ad44..a99bf210e0 100644
--- a/themes/dark/templates/markdown.mako
+++ b/themes/dark/templates/markdown.mako
@@ -1,4 +1,17 @@
<%inherit file="/layouts/main.mako"/>
+<%block name="scripts">
+
+%block>
<%block name="content">
${data}
%block>
diff --git a/themes/light/templates/IRC.mako b/themes/light/templates/IRC.mako
index d095c003b8..7f8ca77d71 100644
--- a/themes/light/templates/IRC.mako
+++ b/themes/light/templates/IRC.mako
@@ -1,4 +1,17 @@
<%inherit file="/layouts/main.mako"/>
+<%block name="scripts">
+
+%block>
<%block name="content">
<%
from medusa import app
diff --git a/themes/light/templates/markdown.mako b/themes/light/templates/markdown.mako
index 2ea437ad44..a99bf210e0 100644
--- a/themes/light/templates/markdown.mako
+++ b/themes/light/templates/markdown.mako
@@ -1,4 +1,17 @@
<%inherit file="/layouts/main.mako"/>
+<%block name="scripts">
+
+%block>
<%block name="content">
${data}
%block>