Excel-like data grid in pure JavaScript