$(document).ready(function() { return $.getJSON("" + WebTools.location + "/sessions", function(data) { var error, field, row, session, tbody, thead, _i, _j, _len, _len2, _ref; error = data['_error']; if (error != null) { console.log(data); return alert(error + ' (see console log for stack)'); } else { thead = $('#sessionHeaders').children("tr"); $(data.headers).each(function(idx, element) { return thead.append("