IE5 is considered to be IE8-

DomEvent considered IE8- to be IE8, IE7 and IE6, missing IE5 and cases when IE was in quirks mode.