Created better lazyloading js