Javascript Engine for Tweening Along Bézier Curves