added examples for r.js optimization