Split up main.js for simplicity. Cleaner footers