fix image preload
js image preload