Download Working with REST API's in JavaScript (Path)