add dispatchEvt + remove trace
minify polyfill.js