Tweening for any numerical JavaScript object property