Oh, I didn't realize that they were two different types of data. In that case, your current setup seems reasonable. For clarity's sake, it might make a bit more sense to reduce the number of function names, maybe something like this:
```js
var badge_url = ...;
var badgeclass_url = ...;
$.when($.getJSON(badge_url), $.getJSON(badgeclass_url)).done(
    function(badge_data, badgeclass_data) {...}
)
```
That way, you can clearly see how the `badge_data` and `badgeclass_data` variables are getting populated, and the conceptual links between them and the AJAX calls.