Update inc/mbGallery.js