docs: function normalizePath(urlPath) {
    if (!urlPath) {
      return '';
    // make sure path starts with a /
    } else if (_.head(urlPath) !== '/') {
      urlPath = '/' + urlPath;
    }
    // make sure path does not end with a /
    return _.trimEnd(urlPath, '/');
  }