homepage image preloading script updated