jquery.replacesvg.js is a simple svg replacement plugin.