code: function getLocationWithoutParams(currentLocation, keyz) {
    let newSearch     = querystring.stringify(omit(getSearchQs(currentLocation), keyz));
    const newAnchorQs = querystring.stringify(omit(getAnchorQs(currentLocation), keyz));
    let newAnchor     = (currentLocation.hash || '').split('?')[0];
  
    if (newSearch) {
      newSearch = `?${newSearch}`;
    }
  
    if (newAnchorQs) {
      newAnchor += `?${newAnchorQs}`;
    }
  
    if (newAnchor && !newAnchor.match(/^#/)) {
      newAnchor = `#/${newAnchor}`;
    }
  
    return currentLocation.pathname + newSearch + newAnchor;
  }
docs: this method is tricky. we want to reconstruct the current URL with the following conditions: 1. search contains none of the supplied keys 2. anchor search (i.e. `#/?key=val`) contains none of the supplied keys 3. all of the keys NOT supplied are presevered in their original form 4. url protocol, host, and path are preserved