updated shared RequireJS config method - previous version broke `r.js` compiling