I have tried to execute 4 function in a row inside dojo domready block and also i want to set a Boolean flag after the execution of these functions, but all function are fired in order asynchronously and the flag is set before the completion of these function i.e. the functions doesn't wait for the previous function to complete, they all are just started and move to the next one.I have tried to execute 4 function in a row ins