Update and rename .main.js to main.js