Update gallery.js and README