Simple Javascript based MemoryGame