Upgrade to rasterizeHTML.js 0.5.0 and implement caching (speedup here around 3x)