scripts loading after the images