// a callback can be an anonymous function
$.getJSON('hello.json', function(hello) {
    $('#hi').text(hello.message);
});
var message = $('#hi').text();
$('#hi').text(message + ', Tom');