Add node-r2.js support