Add initial main.js file.