Update tween.js

Fix the issue where time is not defined.