implementation of comment with ajax.