resolve phantomjs path with phantomjs-lib