setting phantomjs version and postgresql port