Modified test of compatible browser string for IE (code provided by interjinn).