Simple JS Pattern Memory Game