anchor.diff:                  }
               });
               setTimeout(function() {
  -                if($win.scrollTop() > baseOffsetTop) {
  +                if ($win.scrollTop() > baseOffsetTop) {
                       offsetTop = $win.scrollTop();
                       $win.scroll();
                   }
  
positive.code:     $.expr[':'].external = function(obj) {
          return !obj.href.match(/^javascript\:/)
              && !obj.href.match(/^mailto\:/)
              && (obj.hostname != location.hostname);
      };
      $(function(){
          /* Add 'external' CSS class to all external links */
  
negative.code: <script>
      $(document).ready(function() {
          $("#masthead h1, article h1, article h2, article h3, article h4, article h5, article h6").each(function(index, item) {
              let tagn = item.localName;
              let anchor = "top-of-page";
              if (tagn !== "h1") {
                  anchor = "anchor-" + (index + 1);
                  $(this).before("<a class='toc-anchor " + anchor + "' id='" + anchor + "' name='" + anchor + "'></a>");
              }
  