New bug fix version of rasterizeHTML.js