Update to new PhantomJS methodology for generating images.