Removing the inline SVG defs for a dynamic loading