Small Javascript utility for collapsing table columns and making them user-selectable