Fix bug with package.js