check phantomjs bin & data dir