Fix JS event handler removal

* Corrected usage of the jQuery .off( events [, selector ] [, handler ] ) function
* Use element's id as a selector to remove it via off() function