Cross browser and device event handler with delegation, chaining and filtering engines