header tabs js tweak