Comment Comment by maddyboo If you wanna get real fancy, you could replace document.documentElement.classList.remove('no-js'); document.documentElement.classList.add('js'); with document.documentElement.classList.replace('no-js', 'js'); https://developer.mozilla.org/en-US/docs/Web/API/DOMTokenLis... parent maddyboo 5 years ago