add gallery JS