code: protected List<String> loadDeps(Scriptable cfg) {
  		final String methodName = "loadDeps"; //$NON-NLS-1$
  		Object depsList = cfg.get(DEPS_CONFIGPARAM, cfg);
  		List<String> deps = new LinkedList<String>();
  		if (depsList instanceof Scriptable) {
  			for (Object id : ((Scriptable)depsList).getIds()) {
  				if (id instanceof Number) {
  					Number i = (Number)id;
  					Object entry = ((Scriptable)depsList).get((Integer)i, (Scriptable)depsList);
  					deps.add(toString(entry));
  				}
  			}
  			log.logp(Level.WARNING, ConfigImpl.class.getName(), methodName, Messages.ConfigImpl_0);
  		}
  		return deps;
  	}
docs: Initializes and returns the list of module dependencies specified in the
  server-side config JavaScript.
  
  @param cfg
  The parsed config JavaScript as a properties map
  @return the list of module dependencies