fix event.preventDefault() that is not supported on IE8