anchor.diff:  <script type='text/jsx'>
     /** @jsx React.DOM */
   
  -  SubmissionsTable = React.createClass({
  +  var SubmissionsTable = React.createClass({
       getDefaultProps: function() {
         // Defines the columns used for the table and whether they
         // are sortable searchable. The default initially sorted
         // column is the first sortable column in the array.
  -      var columns = [
  -        {
  -          id: 'group_name',
  -          content: '<%= j raw I18n.t(:'browse_submissions.group_name') %>',
  -          sortable: true,
  -          searchable: true
  -        },
  -        {
  -          id: 'repository',
  -          content: '<%= j raw I18n.t(:'browse_submissions.repository') %>',
  -          sortable: true,
  -          searchable: true
  -        },
  -        {
  -          id: 'section',
  -          content: '<%= j raw I18n.t(:'browse_submissions.section') %>',
  -          sortable: true,
  -          searchable: true
  -        },
  -        {
  -          id: 'commit_date',
  -          content: '<%= j raw I18n.t(:'browse_submissions.commit_date') %>',
  -          sortable: true,
  -          searchable: false
  -        },
  -        {
  -          id: 'marking_state',
  -          content: '<%= j raw I18n.t(:'browse_submissions.marking_state') %>',
  -          sortable: true,
  -          searchable: false
  -        },
  -        {
  -          id: 'grace_credits_used',
  -          content: '<%= j raw I18n.t(:'browse_submissions.grace_credits_used') %>',
  -          sortable: true,
  -          searchable: false
  -        },
  -        {
  -          id: 'final_grade',
  -          content: '<%= j raw I18n.t(:'browse_submissions.final_grade') %>',
  -          sortable: true,
  -          searchable: false 
  -        },
  -        {
  -          id: 'can_begin_grading',
  -          content: '<%= j raw I18n.t(:'browse_submissions.can_begin_grading') %>',
  -          sortable: true
  -        }
  -      ];
  -
  -      var filters = [
  -        {
  -          name: 'all',
  -          text: '<%= j raw I18n.t(:'browse_submissions.show_all') %>',
  -          func: function(submission) {
  -            return true;
  +      return {
  +        columns: [
  +          {
  +            id: 'group_name',
  +            content: '<%= j raw I18n.t(:'browse_submissions.group_name') %>',
  +            sortable: true,
  +            searchable: true
  +          },
  +          {
  +            id: 'repository',
  +            content: '<%= j raw I18n.t(:'browse_submissions.repository') %>',
  +            sortable: true,
  +            searchable: true
  +          },
  +          {
  +            id: 'section',
  +            content: '<%= j raw I18n.t(:'browse_submissions.section') %>',
  +            sortable: true,
  +            searchable: true
  +          },
  +          {
  +            id: 'commit_date',
  +            content: '<%= j raw I18n.t(:'browse_submissions.commit_date') %>',
  +            sortable: true,
  +            searchable: false
  +          },
  +          {
  +            id: 'marking_state',
  +            content: '<%= j raw I18n.t(:'browse_submissions.marking_state') %>',
  +            sortable: true,
  +            searchable: false
  +          },
  +          {
  +            id: 'grace_credits_used',
  +            content: '<%= j raw I18n.t(:'browse_submissions.grace_credits_used') %>',
  +            sortable: true,
  +            searchable: false
  +          },
  +          {
  +            id: 'final_grade',
  +            content: '<%= j raw I18n.t(:'browse_submissions.final_grade') %>',
  +            sortable: true,
  +            searchable: false 
  +          },
  +          {
  +            id: 'can_begin_grading',
  +            content: '<%= j raw I18n.t(:'browse_submissions.can_begin_grading') %>',
  +            sortable: true
             }
  -        },
  -        {
  -          name: 'unmarked',
  -          text: '<%= j raw I18n.t(:'browse_submissions.show_unmarked') %>',
  -          func: function(submission) {
  -            return submission.state == 'unmarked';
  +        ],
  +        filters: [
  +          {
  +            name: 'all',
  +            text: '<%= j raw I18n.t(:'browse_submissions.show_all') %>',
  +            func: function(submission) {
  +              return true;
  +            }
  +          },
  +          {
  +            name: 'unmarked',
  +            text: '<%= j raw I18n.t(:'browse_submissions.show_unmarked') %>',
  +            func: function(submission) {
  +              return submission.state == 'unmarked';
  +            }
  +          },
  +          {
  +            name: 'partial',
  +            text: '<%= j raw I18n.t(:'browse_submissions.show_partial') %>',
  +            func: function(submission) {
  +              return submission.state == 'partial';
  +            }
  +          },
  +          {
  +            name: 'complete',
  +            text: '<%= j raw I18n.t(:'browse_submissions.show_complete') %>',
  +            func: function(submission) {
  +              return submission.state == 'complete';
  +            }
  +          },
  +          {
  +            name: 'released',
  +            text: '<%= j raw I18n.t(:'browse_submissions.show_released') %>',
  +            func: function(submission) {
  +              return submission.state == 'released';
  +            }
             }
  -        },
  -        {
  -          name: 'partial',
  -          text: '<%= j raw I18n.t(:'browse_submissions.show_partial') %>',
  -          func: function(submission) {
  -            return submission.state == 'partial';
  -          }
  -        },
  -        {
  -          name: 'complete',
  -          text: '<%= j raw I18n.t(:'browse_submissions.show_complete') %>',
  -          func: function(submission) {
  -            return submission.state == 'complete';
  -          }
  -        },
  -        {
  -          name: 'released',
  -          text: '<%= j raw I18n.t(:'browse_submissions.show_released') %>',
  -          func: function(submission) {
  -            return submission.state == 'released';
  -          }
  -        }
  -      ];
  -      return {
  -        columns: columns,
  -        filters: filters
  +        ]
         };
       },
       getInitialState: function() {
         return {
  -        loading: true,
           error: null,
           submissions: [],
           selected_submissions: [],
  
positive.code:     },
      // Asks for new info from backend and sets props accordingly.
      refresh: function() {
        document.getElementById('working').style.display = '';
        jQuery.ajax({
          method: 'GET',
          url: 'browse',
  
negative.code:             />
            </div>
          );
      }
    });
  
    var SubmissionsActionBox = React.createClass({
      propTypes: {
        selected_submissions: React.PropTypes.array
      },
  