Implemented ScriptEngineFactory with java.