forgot to checkin js code for homepage fix