add module js for gallery