Add main.js to layout