Fix for events that need the DOM element
Adding support detection for FileReader