Home page js fix