Update home.js

wrong function name