Added jQuery for showing and hiding details.