package.js & smart.js