diff --git a/cms/templates/manage_users.html b/cms/templates/manage_users.html
index 0ce0067da3..62763b7770 100644
--- a/cms/templates/manage_users.html
+++ b/cms/templates/manage_users.html
@@ -1,6 +1,7 @@
<%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %>
<%! from auth.authz import is_user_in_course_group_role %>
+<%! import json %>
<%inherit file="base.html" />
<%block name="title">${_("Course Team Settings")}%block>
<%block name="bodyclass">is-signedin course users team%block>
@@ -161,18 +162,54 @@
<%block name="jsextra">