Add javascript to switch between tabs on news site