updated home.js