package: add package.js and smart.json