connection change event polyfill