You probably want to use $.getJSON() here, don't you?