Fix for IE10 language detection