Add package.js and smart.json