public static Object loadModule(String homedir,ScriptEngine engine,String name) throws FileNotFoundException, ScriptException {
  HashMap<String,File> mp=(HashMap<String,File>)engine.get("__MODULES");
  Object ret=load(mp.get(name),engine);
  return ret;
}

public static Object loadModule ( String homedir , ScriptEngine engine , String name ) throws FileNotFoundException , ScriptException { HashMap < String , File > mp = ( HashMap < String , File > ) engine . get ( "__MODULES" ) ; Object ret = load ( mp . get ( name ) , engine ) ; return ret ; }
load a module into the javascript engine
