Create smart.js