Update compareImages.js