Appropriate classes on figures, plus JS onclick action