Fix for TypeError removeEventListener

Fixes the error that occurs due to the jQuery 1.4.2 workaround, but seems to have been fixed in version 1.4.3.