Common JS API: fix for ns extending on win32 RhoSimulator