JS Change Html Lang

document.documentElement.lang = lang;
TindyC