init and add phantomjs