initial pass at speed optimzations, data uris, svg, etc