removed the unused code in home.js