https://devscopeninjas.azurewebsites.net/2017/04/20/dealing-repetitive-js-promises/
Dealing with repetitive JS Promises