Adds generic JavaScript sort and filter UI (next to the table one).