issue #1724: fixed errors for HelloJavascript of win32 port.