Got basic r.js optimization into a single file working.