Add gallery.js file