Change PhantomJS script to work on systems without a ~/Downloads/ folder.