Adding polyfills for IE8.