add phantomjs to darwin platform