PowerShell over PhantomJS, a headless WebKit scriptable with a JavaScript API