       .append('span')
         .text((milestone)-> milestone.name)
     
-    update = if options.transition then milestones.transition(150) else milestones
+    update = if transition then milestones.transition(150) else milestones
     update
-      .attr 'class', (milestone)->
+      .attr 'class', (milestone)=>
         classes = ['roadmap-milestone']
         classes.push(if milestone.locked then 'locked' else 'unlocked')
         classes.push(if milestone.completed then 'completed' else 'uncompleted')
-        if milestone.startDate > today
+        if milestone.startDate > @today
           classes.push 'upcoming'
-        else if milestone.endDate < today
+        else if milestone.endDate < @today
           classes.push 'past'
         else
           classes.push 'active'

    @update(transition: false)
  
  update: (options)->
    view = @
    today = new Date()
    
    bands = @roadmap.selectAll('.roadmap-band')
      .data(@groupMilestonesIntoBands(), (band)-> band.key)

        .attr('class', 'roadmap-weekend')
        .attr('style', (date)=> "left: #{@x(date)}px; width: #{@x(2.days().after(date)) - @x(date)}px;")
      
      update = if transition then weeks.transition(150) else weeks
      update
        .attr('style', (date)=> "left: #{@x(date)}px; width: #{@x(2.days().after(date)) - @x(date)}px;")
      
