How can I execute array of promises in sequential order? How can I execute array of promises in sequential order? javascript javascript