clean up js for comment effects