Fix for events not detaching properly under IE9 and IE10 #HOT-62