update home.js fix js error