Refactored JS, added toggleComments.