After upgrading to jQuery 3 I', getting this error on the console: Uncaught TypeError: Cannot read property 'apply' of undefined I know that jQuery.event.handle() was removed from jQuery 1.9.1 but How can I handle this issue?