SVG.js - Animate Element

A rectangle moves and returns to original position. It is continuous, and includes pause/play button.

SVG Source:
Javascript:

OK in: IE11/Edge/CH55/FF52