add js files for the new gallery