Fix IE detection procedure for IE11

Thank you for your nice product.

This fixes IE detection procedure because a former detection procedure is not applicable for IE11.