Add AMD Support

Allow the module to register as an AMD dependency.