Fix detection on IE > v11