added main.js file