[js-phantomjs] write all-in-one.js