A pure JavaScript simple gallery