Memory game created in javascript