Test eval(jquery.js) in a .wsf file and you'll see the issue. No
window object. This is understandable, because with WSH you're
independent from a web browser.
So I've tried stuff like this, to no avail:
<script language="javascript">
<![CDATA[
var html = new ActiveXObject("htmlfile");
var window = html.parentWindow;
var navigator = window.navigator;
var document = window.document;
var location = document.location;
window.ActiveXObject = {};
]]>
</script>
<script src="jquery-1.4.2.min.js">
<![CDATA[
var $ = window.$;
]]>
</script>