Fix legacy IE's issue with using hasOwnProperty on an Event object