Hey @liane,
ES5 support within the NPM package is now supported in Web SDK version 1.8.5.
Please see the release log for more details:
Thanks, Tommy