I have js in my header that checks local storage and sets the stylesheet accordingly. I am using a Bootstrap navbar and I want the navbar to change to inverse colour depending on the local storage too but I can't get it to work. I think it is because the navbar code is in the body.I have js in my header that checks local storag