Add support for requirejs dependencies

Add support for requirejs dependencies for both individual module or single centralized module.