added ajax functionality to comments