Actually the fact that `undefined<8` is `true` means that you do need this to get the same result, i.e. that it is `msie` and `documentMode` exists and is less than 8.  But if it is `msie` then `documentMode` will always exist so in the end the line is OK.