Main.js refactory