Add SVG version of graphics with JavaScript detection