phantomjs setup script