Flip SVG Element

This will flip a transformed element across its x or y center point. It uses an svg 'Wrapper' plus the element's transform matrix and consolidate.
Scenerio:
The path element has been initially transformed (scaled & translated to center of drawing).
Flipping an element across its center x point uses setScale(-1,1). Flipping an element across its center y point uses setScale(1,-1)

SVG Source:
Javascript:
OK in:IE11/CH32/FF23