Node Js Wait For Http Request