Fix IE detection procedure for IE11

A former detection procedure is not applicable for IE11.
Merge pull request #1 from zeroyonichihachi/compat-IE11

Fix IE detection procedure for IE11 compatibility.