Create gallery.js