diff --git a/lookyloo/templates/main.html b/lookyloo/templates/main.html
index fce730b4..d8522a15 100644
--- a/lookyloo/templates/main.html
+++ b/lookyloo/templates/main.html
@@ -3,7 +3,6 @@
{% block scripts %}
{{ super() }}
-
{% endblock %}
{% block head %}
diff --git a/lookyloo/templates/tree.html b/lookyloo/templates/tree.html
index c0c85393..b2a99726 100644
--- a/lookyloo/templates/tree.html
+++ b/lookyloo/templates/tree.html
@@ -2,7 +2,10 @@
{% block title %}Tree{% endblock %}
-
+{% block scripts %}
+ {{ super() }}
+
+{% endblock %}
{% block content %}
{{super()}}