fixing r.js to make a full correct build of all the js