code: protected Location loadBaseURI(Scriptable cfg) throws URISyntaxException  {
  		Object baseObj = cfg.get(BASEURL_CONFIGPARAM, cfg);
  		Location result;
  		if (baseObj == Scriptable.NOT_FOUND) {
  			result = new Location(getConfigUri().resolve(".")); //$NON-NLS-1$
  		} else {
  			Location loc = loadLocation(baseObj, true);
  			Location configLoc = new Location(getConfigUri(), loc.getOverride() != null ? getConfigUri() : null);
  			result = configLoc.resolve(loc);
  		}
  		return result;
  	}
docs: Initializes and returns the base URI specified by the "baseUrl" property
  in the server-side config JavaScript
  
  @param cfg
  the parsed config JavaScript
  @return the base URI
  @throws URISyntaxException