Fix IE detection procedure for IE11

This fixes IE detection procedure because a former detection procedure is not applicable for IE11.