renamed main.js to home.js