add package.js and smart.json