diff --git a/allianceauth/theme/templates/theme/theme_imports_js.html b/allianceauth/theme/templates/theme/theme_imports_js.html
index 0821ba98..b3c5fdba 100644
--- a/allianceauth/theme/templates/theme/theme_imports_js.html
+++ b/allianceauth/theme/templates/theme/theme_imports_js.html
@@ -4,11 +4,13 @@
{% include theme.js_template %}
{% else %}
{% for x in theme.js %}
- {% if x.js_type %}
-
- {% else %}
-
- {% endif %}
+
{% endfor %}
{% endif %}