I use the code below to detect browser version to advice user use higher version IE. But it works in IE11 not correctly.