build phantomjs