Fix packages.js