Updates Externals for UMD

Updates Externals to correctly reference where the externals exist
based on whether the library is being used as globals, commonjs, or amd.