Hi Carlotta,
There are programs that download entire websites. For example, httrack at www.httrack.com
Or of course you can have an intern do it! 😉
Carlotta,
You can download the help for the JavaScript api at the downloads page - the ArcGIS API for JavaScript v3.3 SDK download contains all the samples.
http://www.esri.com/apps/products/download/index.cfm?fuseaction=download.all#ArcGIS_API_for_JavaScri...