It was not possible to put this javscript into `apps/packages/static/js/packages.js` (as I did accordingly with `devices.js` for example). But it worked in `apps/front/static/js/`, I have no idea what the problem is...