Fixed event listening on IE
Merged pull