fix event management jquery.