Added some js event transitions.