embed custom-event-polyfill