Fix comment.create in javascript