Added JS to close accordions on click