work on r.js build