Implement case study javascript