add package.js and index.js