Adds compatibility for IE8