Fixing r.js build