Add a test for document.documentMode being less than 8 as it appears that the IE version number isn't always modified in the user agent