diff --git a/pagure/templates/group_list.html b/pagure/templates/group_list.html
index 2106a20..09aaf08 100644
--- a/pagure/templates/group_list.html
+++ b/pagure/templates/group_list.html
@@ -115,7 +115,7 @@ $(document).ready(function() {
e.preventDefault();
return false;
}
-
+});
$('#add_group').on(
'shown.bs.modal', function () {
$('#group_name').focus()
diff --git a/pagure/templates/user_list.html b/pagure/templates/user_list.html
index 177fc91..b7092cb 100644
--- a/pagure/templates/user_list.html
+++ b/pagure/templates/user_list.html
@@ -114,6 +114,7 @@ $(document).ready(function() {
e.preventDefault();
return false;
}
+ });
$('#term').selectize({
valueField: 'user',
labelField: 'user',