created main.js