adding javascript changes for publications tab