Right after my script is loaded I am making an Ajax request to get some translations. This should always return after the document is ready since I am loading my scripts at
My version is:
$.when( $.Deferred(function() { $(this.resolve); }), $.ajax('translations')). then(function() { console.log("done"); });