export with UMD (suitable for RequireJS/Browserify projects)