anchor.diff:                          <% wordIDs.each do |id| %>
                               <% spwords.each do |word| %>
                                   <% if word.attr('xml:id').to_s == id %>
  -                                    <!-- DISPLAY EACH WORD -->
  +                                    <% # DISPLAY EACH WORD %>
                                       <% if (word.inner_text == ".") || (word.inner_text == ",") || (word.inner_text == "?") || (word.inner_text == "!") || (word.inner_text == ";") || (word.inner_text == ":") %>
                                           <button class="punc" data-cut="false" data-display="true" data-lineNum=<%= lineNum %>>
                                               <%= word.inner_text %>
                                           </button>
  -                                <% else %>
  -                                    <% if word.inner_text != "" && word.inner_text != " " %>
  -                                        <button class="word" data-cut="false" data-display="true" data-lineNum=<%= lineNum %>>
  -                                            <%= word.inner_text %>
  -                                        </button>
  +                                    <% else %>
  +                                        <% if word.inner_text != "" && word.inner_text != " " %>
  +                                            <button class="word" data-cut="false" data-display="true" data-lineNum=<%= lineNum %>>
  +                                                <%= word.inner_text %>
  +                                            </button>
  +                                        <% end %>
                                       <% end %>
                                   <% end %>
                               <% end %>
                           <% end %>
  +
  +                        <% # BREAK FOR NEW LINE %>
  +                        <br>
  +
  +
  +                        <% stages.each do |stage| %>
  +                            <% # Get stage direction id %>
  +                            <% stageN = stage.attr('xml:id').to_s.gsub("stg-","").to_f %>
  +                            <% # If there is a stage dir inside speech %>
  +                            <% if (stageN >= msN) and (stageN < msN+1.0) %>
  +                                <% # display stage direction %>
  +                                <button class="stage" data-cut="false" data-display="true">
  +                                    <%= stage.inner_text %>
  +                                </button>
  +                                <br>
  +                                <% stages.delete(stage) %>
  +                            <% end %>
  +                        <% end %>
  +
                       <% end %>
  -
  -                    <!-- BREAK FOR NEW LINE -->
  -                    <br>
  -
  -
  -                    <% stages.each do |stage| %>
  -                        <!-- Get stage direction id -->
  -                        <% stageN = stage.attr('xml:id').to_s.gsub("stg-","").to_f %>
  -                        <!-- If there is a stage dir inside speech -->
  -                        <% if (stageN >= msN) and (stageN < msN+1.0) %>
  -                            <!-- display stage direction -->
  -                            <button class="stage" data-cut="false" data-display="true"> <%= stage.inner_text %> </button> <br>
  -                            <% stages.delete(stage) %>
  -                        <% end %>
  -                    <% end %>
  -
  -                <% end %>
                   <% end %>
                   
                   <br>
                   <% stages.each do |stage| %>
  -                    <button class="stage" data-cut="false" data-display="true"><%= stage.inner_text %></button> <br>
  +                    <button class="stage" data-cut="false" data-display="true">
  +                        <%= stage.inner_text %>
  +                    </button>
  +                    <br>
                       <% stages.delete(stage) %>
                   <% end %>
               <% end%>
  
positive.code:         }
  
          getScenes = function (script) {
              actsAndScenes = new Set([script.children[0]]);
              scenes = new Set();
              // begin searching
              let searching = true;
  
negative.code:                             <% end %>
                          <% end %>
  
                          <% # get line number %>
                          <% lineNum = ms.attr("n").to_s.split(".")[2] %>
                          <% # get corresps per milestone in array %>
                          <% wordIDs = ms.attr("corresp").to_s.split(" ") %>
                          <% # remove #s %>
                          <% wordIDs = wordIDs.map { |w| w.gsub("#","")} %>
                          <% # Search spwords for corresponding w/c/pc %>
                          
                          <% # DISPLAY LINE NUMBER %>
                          <% if lineNum.to_i % 5 == 0 %>
                              <p class="lineNum">
                                  <%= lineNum %>
  