Use browserify — http://browserify.org
Compared to require.js browserify has the following benefits:
* CommonJS module format which is less verbose than AMD
* it uses node_modules/ dir to load dependencies from so
* ... you can use npm to install dependencies
* ... and if you use Node.js then that facilitates code sharing between your client and server