updated jsWrapper and mainExecutable