Improved the r.js build process.