updates rasterize.js WIP