added polyfill for IE8