<%! from django.template.defaultfilters import escapejs %>

<script type="text/javascript">
  var $$course_id = "${course_id | escapejs}";
  if (typeof $$annotated_content_info === undefined) {
    var $$annotated_content_info = {};
  }
  $$annotated_content_info = $.extend($$annotated_content_info, JSON.parse("${annotated_content_info | escapejs}"));
  if (typeof $$discussion_data === undefined) {
    var $$discussion_data = {};
  }
  $$discussion_data = $.extend($$discussion_data, JSON.parse("${discussion_data | escapejs}"));
</script>
