working on package.js