fix build r.js file