anchor.diff:      var activity = selectedActivity()
       if (!activity.id || !activity.name) return
       var cells = []
  -    var dayCount = ${period.dayRanges[0].days}.
  -    length
  +    var dayCount = ${period.dayRanges[0].days}.length
       var rowCount = $$("#input-body tr").length - 1
       // header
       var activityName = 'grid[' + rowCount + '].activity';
  
positive.code:     }
  }
  
  
  function setUpMovingMarker(draggable, dropZone) {
      draggable.innerHTML = '';
      var element = dropZone.getElementsBySelector("span")[0];
  
negative.code:     document.getElementsByClassName('marker').each(
          function(item) {
              new Draggable(item, {revert: true});
              item.activity = item.parentNode.parentNode.getElementsByClassName('activity')[0].innerHTML.strip();
          }
          );
  