minor js tweak in header tabs