PhantomJS script to render and save a page by URL