Add polyfill for older versions of IE