This worked for main.js