Cosmetic changes to main.js