Javascript Pokemon Matching Game