perf(jQuery): only trigger $destroy if a handler exists