When use the library with webpack in client side (browser), it doesn't work because of there is no polyfill for keywords like "const". Update: a workaround is in webpack config, allow babel-loader process js files coming from folder node_modules.