Changed Main.js File