Currently only the first image with the svg-replace class is modified: http://jsfiddle.net/ujxomdgc/15/