Make sure that document ready events, inside a document ready, are added to the queue...