cleaned up js and added links to carousel