 LoadableItem = require '../loadable-item'
 
 Stats = React.createClass
-  _percent: (num,total) ->
-    Math.round((num/total) * 100)
+  _percent: (num, total) ->
+    Math.round((num / total) * 100)
 
-  percentDelta: (a,b) ->
+  percentDelta: (a, b) ->
     if a > b
       change = a - b
       op = '+'
-    else if a == b
+    else if a is b
       change = 0
       op = ''
     else

      id={id}
      store={TaskPlanStore}
      actions={TaskPlanActions}
      renderItem={=> <Stats id={id} />}
    />




    classes = 'reading-progress-bar'
    classes += ' no-progress' unless percentCorrect
    correct = <BS.ProgressBar 
              className={classes} 
              bsStyle={bsStyles[correctOrIncorrect]} 
              label="%(percent)s%" 
              now={percentCorrect} 
              key="page-progress-#{type}-#{data.id}-#{correctOrIncorrect}" />

  renderProgressBar: (data, type, index, previous) ->
    practice = <span className='reading-progress-student-count'>({data.student_count} students)</span>
    studentCount = if type is 'practice' then practice

    <div key="#{type}-bar-#{index}">
      <div className='reading-progress-heading'>
