Well, I still need to catch the case where $.getJSON() fails but I can use a similar construct.