Added chooseMain.js to layout.js