wip: pacs.js cleanup