Fix transition.js