Update index.html

Added image preload script