Fix bug from afui:init PR - could get in a state where afui:init is triggered before $(document).ready() gets executed.

Now internal init property that can be checked.