Add event support for IE<9