JS memory tile game