[js-phantomjs] According to the change of the version of phantomjs,  the code changed.