Update and rename main.js to load.js