Piecing together the js that parses the json and fetches random definitions (incomplete)