anchor.diff:  <script>
       $(document).ready(function() {
           $("#masthead h1, article h1, article h2, article h3, article h4, article h5, article h6").each(function(index, item) {
  -            var tagn = item.localName;
  -            var anchor = "top-of-page";
  -            if(tagn != "h1") {
  +            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>");
               }
  
positive.code: <script>
      $(document).ready(function() {
          $(".lazy-sticky").each(function() {
              var $win = $(window);
              var $this = $(this);
              var upToTopHeight = $("#up-to-top").height() + 30 + 60;
              var footerHeight = $("#footer-content").height() + upToTopHeight;
              var baseOffsetTop = $this.offset().top;
              var offsetTop = 0;
              var thisHeight = $this.height();
              var winHeight = $win.height();
              var scrollTimer = null;
              var immediate = false;
              $this.find("#toc ul a").click(function(e) {
                  immediate = true;
                  var anchor = $(this).attr("anchor");
                  if(anchor != "top-of-page") {
                      setTimeout(function() {
                          var offset = $("#" + anchor).offset();
                          if(offset) {
                              immediate = true;
                              $win.scrollTop(offset.top - $("#navigation.fixed .top-bar").height()||0);
                          }
  
negative.code:     }
      $(document).foundation();
      $(document).ready(function() {
          let $win = $(window);
          let $nav = $("#navigation");
          let navHeight = $("#masthead").height() - $nav.height();
          let lastScrollTop = 0;
          let scrolled;
          let navFixed;
          $win.scroll(function() {
              scrolled = true;
          });
          setInterval(function() {
              if (scrolled) {
                  let scrollTop = $win.scrollTop();
                  if (Math.abs(lastScrollTop - scrollTop) <= 10) {
                      return;
                  }
  