AMD and CJS dependency management in the browser