diff --git a/vote/templates/vote/index.html b/vote/templates/vote/index.html
index efbf25ec87c627ef2c0ac2d80265f204e8c195e8..9cafb44f4e01d1e00c1992702fd87b5c9aa4ff2a 100644
--- a/vote/templates/vote/index.html
+++ b/vote/templates/vote/index.html
@@ -75,7 +75,7 @@
 {# Automatic reload of the page: #}
 {# - either if the start date / end date of a election is due#}
 {# - or if the admin started / stopped one election and the page is notified with a websocket#}
-<script src="{% static " js/jquery-3.5.1.min.js" %}"
+<script src="{% static "js/jquery-3.5.1.min.js" %}"
   integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="></script>
-<script src="{% static " js/reload.js" %}"></script>
+<script src="{% static "js/reload.js" %}"></script>
 {% endblock %}
\ No newline at end of file
diff --git a/vote/templates/vote/spectator.html b/vote/templates/vote/spectator.html
index d026cfaf81d55688310d2cb328239f6ce9a7e327..1188ea7826dac3e4a7d4ad3bbbbd1ea70ac34e0b 100644
--- a/vote/templates/vote/spectator.html
+++ b/vote/templates/vote/spectator.html
@@ -76,7 +76,7 @@
 {# Automatic reload of the page: #}
 {# - either if the start date / end date of a election is due#}
 {# - or if the admin started / stopped one election and the page is notified with a websocket#}
-<script src="{% static " js/jquery-3.5.1.min.js" %}"
+<script src="{% static "js/jquery-3.5.1.min.js" %}"
   integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="></script>
-<script src="{% static " js/reload.js" %}"></script>
+<script src="{% static "js/reload.js" %}"></script>
 {% endblock %}
\ No newline at end of file