Save phantomjs as gz file.