fix header & js for report tables.