Update transition.js