Toolkit is using 'new CustomEvent('...')' also. Right now, I added a simple wrapper for it in patches.js.