Changed to main.js