edit json using javascript methods...