diff --git a/umap/templates/base.html b/umap/templates/base.html
index bf433966..1fc5f137 100644
--- a/umap/templates/base.html
+++ b/umap/templates/base.html
@@ -26,8 +26,10 @@
{% block extra_head %}
{% endblock extra_head %}
+ {% compress js %}
+ {% endcompress js %}