first version of remove row js