code: function canonicalPath() {
    var canon = canonical();
    if (!canon) return window.location.pathname;
    var parsed = url.parse(canon);
    return parsed.pathname;
  }
docs: Return the canonical path for the page.
  
  @return {string}