An HTML5 utility for drawing images on a canvas