Fixes replacement of SVG images in IE7
Merge pull request #1581 from patheard/ie7-svg

Fixes replacement of SVG images in IE7