Detect SVG support and add HTML class. From Todd Motto.