updated json response and js to display data into divs