Create r2.js