update rasterize.js