Unbind Heap event listeners in undelegateEvents.
Update JS code.