Add r.js

For https://github.com/ipython/ipython/pull/5900