_insertTransition is now broken, but trust me on this: it's going to be awesome
each transition now in array, with a unique id.
merged Ed's javascript formatting, which is wrong