diff --git a/rowers/templates/document_form.html b/rowers/templates/document_form.html
index bd24cd6e..7ad85c58 100644
--- a/rowers/templates/document_form.html
+++ b/rowers/templates/document_form.html
@@ -66,7 +66,21 @@
{% block scripts %}
-
+ });
+};
+
{% endblock %}