Added some defensive code for cases where event listeners can't be detatched properly.
Added some defensive code for cases where event listeners can't be detatched properly.

mde/fleegix-js-javascript-toolkit,mde/fleegix-js-javascript-toolkit,mde/fleegix-js-javascript-toolkit