Update loadImages.js