anchor.diff:              }
           }
   
  +        //obtains the index of the next speech, act, or scene which ends the speech to be cut
           function nextSpeaker(srcElement, startIndex) {
               items = Array.from(srcElement.parentNode.children).splice(startIndex)
               for (element of items) {
  
positive.code:                     return items.indexOf(element) + startIndex - 1 
                  }
              }  
              return items.length - 1 + startIndex
          }
  
          // NOT CURRENTLY USED, LEFT FOR FUTURE INFO
  
negative.code:                         if (element.className == "word" || element.className == "punc" ||
                              element.className == "stage"){
                                  element.style.backgroundColor = "#B8D7FB";
                                  if (element.dataset.cut == "false") { //prioritize cutting over uncutting
                                      toCut = true
                                  }
                          }
  