another attempt at fixing preventDefault in IE