A function that provides basic DOM Event support in IE8 and below.