edit comment in javascript