home page js fix