get top level agency data working for receipts, lint some js