Adds compatibility for IE8

This pull-request adds the compatibility to the Internet-Explorer 8.