CommonJS implementation of Tween.