Win32: support JS application