do what I do,
and rip it off of microsoft

just look at the source, and download all the necesary .js files, since the browser cant execute js files, they are treated as zip files and are downloaded.
I havent tried it yet, but I did use MS's tree menu thing....