Update and rename main.js to functions3.js