hide ScriptEngine calls from JS