save page in phantom script