added rasterize from phantom.js