added some JS to hide/show old publications