Plain-vanilla Javascript photo gallery for easy and flexible deployment