Rendering web tags using HTML5 Canvas