Update css3_transitions.js

Added a lighter-weight and better way to check for the WebkitTransitionEnd event.