Exploring ways to showcase the dependencies within my d3.js tree, I am curious if it's possible to dynamically list the dependencies' names in a JSON file or directly within the javascript file. I'm puzzled by how JavaScript can access folder names without any external assistance. My preference is not to rely on outside plugins or server-side scripting for this task.