create main.js and package.json