AFAIR clearMenus on document was triggered for every dropdown (which isn't needed because first run of clearMenus would clear all dropdowns), and because one can't check if event is already bound, simple solution is to unbind event before binding it again. Added namespace for clearMenus to prevent unbinding other events.

It was month ago. Looked good back then :)