Update image_gallery.js