code: protected Map<String, Location> loadPaths(Scriptable cfg) throws URISyntaxException {
  		Object pathlocs = cfg.get(PATHS_CONFIGPARAM, cfg);
  		Map<String, Location> paths = new HashMap<String, Location>();
  		if (pathlocs instanceof Scriptable) {
  			for (Object key : ((Scriptable)pathlocs).getIds()) {
  				String name = toString(key);
  
  				if (!paths.containsKey(name) && key instanceof String) {
  					Location location = loadLocation(((Scriptable)pathlocs).get(name, (Scriptable)pathlocs), false);
  					paths.put(name, getBase().resolve(location));
  				}
  			}
  		}
  		return paths;
  	}
docs: Initializes and returns the map of paths based on the information in the
  server-side config JavaScript
  
  @param cfg
  The parsed config JavaScript as a properties map
  @return the map of path-name/path-URI pairs
  @throws URISyntaxException