Fix browser detection in IE10.