Added r.js and changed compress to use it directly.