prepared package.js for publishing