Add ES/DOM polyfill