Update the `r.js` driver to handle CDN paths with the recent shift to whole-project optimization

Fixes #167.