Update home_func.js

tweaked some stuff