This RequireJS example does the following:
- Loads jQuery in .noconflict() mode so JavaScript libraries loaded outside of RequireJS cannot interfere
- loads jQuery from a CDN with local file fallback
- the r.js optimizer is set up inside the tools directory.