Add polyfill for event.preventDefault to work with IE8