diff --git a/templates/horde-map.html.twig b/templates/horde-map.html.twig
index 8b8596b..91e9917 100644
--- a/templates/horde-map.html.twig
+++ b/templates/horde-map.html.twig
@@ -5,6 +5,7 @@
{% do assets.addJs('https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.3.0/build/ol.js') %}
{% do assets.addJs('https://cdn.jsdelivr.net/gh/dusterthefirst/Login-With-Discord/dist/lwd.js') %}
{% do assets.addJs('https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js') %}
+ {% do assets.addJs('/horde-map/assets/map.js', {group: 'bottom'}) %}
{{ parent() }}
@@ -18,15 +19,6 @@
{% endblock %}
-{% block bottom %}
- {{ parent() }}
-
- {% do assets.addJs('/horde-map/assets/map.js') %}
-
- {{ assets.js() }}
-
-{% endblock %}
-
{% block content %}
{{ page.content }}