Fix for Issue #12: Not properly removing handlers before re-adding them (at least in Chrome)