Bind to transition end JS event.