Fixing bug where jquery 1.8+ breaks disableEvent()