Runs RequireJS in Node and Rhino, and used to run the RequireJS optimizer