Add r.js and config for it