This version is old school.
Please find jQuery plugins on npm.
jQuery SVGMagic
A simple jQuery plugin that creates a fallback for .SVG images (backgroundimage supported to!). In case your browser doesn't support .SVG images it will create a .PNG file and replace the .SVG with it. This means that you don't have to create two versions of your images to support IE8 and lower.
Versions
Version
Date
2.1.0
Dec 21, 2013