Changed main file to main.js