update JS to push cell ids into array to validate