even if I was talking about the host for tsc.js, the way the code is defined it should be able to run from wscript exe under Windows, although I never tried it.