Extracted match JavaScript and querying Wikipedia API.