Create media-gallery.js