What happens if the browser is not IE or if isIE returned undefined here. I'd expect to see logic more like this:

if (!isSupportedBrowser()) {
   ...
}

function isSupportedBrowser() {
  if (lang.isIE()) {
    // now get the browser version and check it
  }
  return true;
}