Support for r.js