Detection code for IE10+.