Added main.js file.