Getting object when is ready
I'm repeating @RoToRa for the sake putting it in answer form for beta-stats:

Your syntax is fine. Without knowing more of the problem domain, it does seem a little unnecessary.  Why not use callbacks on your $.ajax() call?