updated transitions js