Added the client-side code for the comments