Add ability to set attributes for SVG; Minification optimizations