modify creating reply with js response
add reply's editing function