updated show.js to append data into view