properly detect IE8 and IE9 even when lying

UserAgent should know the true version of the browser, even when it's lying.