Add main.js in npm package