Modernizing JavaScript Code: CSV/Table Manipulation