Main.js completed