support for umd/amdWeb

see: https://github.com/umdjs/umd/blob/master/amdWeb.js