Add support for RequireJS

Use the `--rjs` option to enable it. Fixes #1.