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:                 accept:['marker','newMarker'],
                  hoverclass: 'hoverActive',
                  onDrop: moveEvent })
              item.durationIndex = x;
              x = (x == PERIOD_DURATION - 1) ? 0 : (x + 1);
          }
          );
  
      document.getElementsByClassName('marker').each(
          function(item) {
              new Draggable(item, {revert: true});
              item.currentDurationIndex = item.parentNode.durationIndex;
              item.activity = item.parentNode.parentNode.getElementsByClassName('activity')[0].innerHTML.strip();
          }
          );
  
      Droppables.add($('deleteDrop'), {accept:'marker',hoverclass: 'hoverActive',onDrop:deleteEvent})
  }
  
  var PERIOD_DURATION = 7;
  
  function moveEvent(draggable, dropZone) {
      var wholeElement = dropZone.getElementsBySelector("span")[0]
  
negative.code:     }
  }
  
  function setUpMarker(draggable, dropZone) {
      var activity = (typeof(draggable.activity) != 'undefined') ? draggable.activity : dropZone.parentNode.getElementsByClassName('activity')[0].innerHTML.strip();
      if (activity == dropZone.parentNode.getElementsByClassName('activity')[0].innerHTML.strip()) {
          var marker = createMarker(activity);
          dropZone.appendChild(marker);
  
          draggable.parentNode.removeChild(draggable);
  