Added support for Require.js in the browser