Fixed js load error on home page