r.js support