Update and rename main.js to script.js