aggregation: fix javascript to be consistent with column printing.