Updated to run on Windows, and to use PhantomJS.