home.js fixes