assuming phantomjs is in the PATH