Update gallery JS library.