Changes made to main.js