begin setRow JS