Move Transformed Element To Target Point

After an element has been transformed, then by use of an svg wrapper, the element can be translated so its center point moves to a specific target point.
Scenerio:
The rect element has been transformed from its original location (dashed rect).
The center of the element can be moved to a specific target point (maroon circle) by using the center point of it's svg wrapper

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