Adding text-wrapping; making svg tags definition external to the lib; caching the svg:defs; making HTML files compliant to the W3C checker