More flexible UMD for AMD/RequireJS