Stored results on the DOM
function to get the JSON file on the DOM and return 2 arrays