added AJAX functionality to the discussion/comments page