Fix body attrs on page reload (was only working on initial setup