added event workarounds for IE