Treaty L1

The filtering JS is broken now due to changes of selector names. Had to drop the use of tables in favor of lists.