added main.js file to master branch.