properly set the lang attribute of <html> element