code: function(path) {
              if (path === undefined) {
                  path = document.location.pathname;
              }
              var locale = this.getConfigValue('LOCALE').toString();
  
              // if there is no way to figure out the locale, just return pathname
              if (!this.getConfigValue('LOCALE') || path.indexOf(locale) == -1) {
                  return path;
              }
              var start = locale.length + path.indexOf(locale);
              return path.slice(start);
          }
docs: Return the path without the localization segment.