install phantomjs from within the bash script