Some example of javascript async control