結果 : javascript make sure one function wait for another