Memory game written using javascript and jQuery