docs: function _isCurrentUrl(href, currentUrl) {
          if (!currentUrl) {
              return false;
          }
  
          var strippedHref = href.replace(/\/+$/, ''),
              strippedCurrentUrl = currentUrl.replace(/\/+$/, '');
          return strippedHref === strippedCurrentUrl;
      }