code: @Override
  	public Features getDefaultFeatures(String url) {
  		Features result = new Features();
  		for (Map.Entry<String, Object> entry : defaultFeatureMap.entrySet()) {
  			// value is either a Boolean or Function
  			Object value = entry.getValue();
  			if (value instanceof Function) {
  				Context cx = Context.enter();
  				try {
  					Scriptable threadScope = cx.newObject(sharedScope);
  					threadScope.setPrototype(sharedScope);
  					threadScope.setParentScope(null);
  					Boolean booleanValue = Context.toBoolean(((Function)value).call(cx, threadScope, null, new Object[]{url}));
  					result.put(entry.getKey(), booleanValue);
  				} finally {
  					Context.exit();
  				}
  			} else {
  				result.put(entry.getKey(), (Boolean)value);
  			}
  		}
  		return result;
  	}
docs: /* (non-Javadoc)
  @see com.ibm.jaggr.service.config.IConfig#getDefaultFeatures()