fixed custom event support for IE