properly checks for SVG support