fix js on home page