$(function() { setInterval(function() { $.getJSON('/monitor/api/status/memory',function(data) { console.log("Response: " + data); if(data.mem != undefined) { $('.mem-rss').html(data.mem.rss); $('.mem-heap').html(data.mem.heapUsed + " / " + data.mem.heapTotal); } }); },2000); $.getJSON('/monitor/api/bundles',function(data) { $thead = $('table.bundle-list thead'); $thead.html(''); var add = ''; add+= '