added examples for optimizing js modules using r.js