added utility functions in cell_utils.js