you should unbind only the specific listener being attached on it.

and this is missing in the Prototype version