-{# This is where insert_str will end up #}
-{% media_container prelude %}
-<script type="text/javascript">
-{# In case we need to add raw js code - use {% insert prelude_js %} ... {% endinsert %} #}
-{% container prelude_js %}
-{{ js_chunks }}
-</script>
-<style type="text/css">
-{# In case we need to add raw css code #}
-{% container prelude_css %}
-{{ css_chunks }}
-</style>
-</head>
-
-{# let's add these ones no matter what #}
+{# This is where insert_str will end up #}{% media_container prelude %}
+<script type="text/javascript"> {# raw js code - use {% insert prelude_js %} ... {% endinsert %} #} {% container prelude_js %}</script>
+<style type="text/css">{# In case we need to add raw css code #}{% container prelude_css %}</style>
+{{ header_prelude }}
+</head>{# let's add these ones no matter what #}