phantomjs in bash script