fix j.jq.onAnimated.js and j.jq.onTransitioned.js