Apply correct language attributes to html element for IE 8