Event Delegation Fix

Necessary if menu is dynamically loaded via ajax.