apt-get update before installing phantomjs