Edit on JS list