Update and rename main. to main.JS