Build js file with r.js