I am trying to create a script to download pages from multiple urls using node js but the loop didn\'t want to wait for the request to finish and continued printing, I also