Added javascript for tabs on score page and hiding tabs if blank