diff --git a/plinth/templates/base.html b/plinth/templates/base.html
index 813a476e5..c32e8f0fd 100644
--- a/plinth/templates/base.html
+++ b/plinth/templates/base.html
@@ -64,6 +64,8 @@
+ {% block app_js %}{% endblock %}
+ {% block page_js %}{% endblock %}
{% if refresh_page_sec is not None %}