Memory game built in JS