Added code to copy event before emitting on IE