Nekromancer, ну тогда уж так:
if(window.AnimationEvent || 'onanimationend' in document.body || document.body.onanimationend === null){
//oh yeah..
}else if(window.VendorAnimationEvent){
// oh.. not so bad
}else if (true) {
//fuck, no..
} else {
//oh, shi...
}