A simple game of pairs to reveal an image underneath, in JavaScript