Internet Explorer doesn't implement 'contains' for document so we make a polyfill for this method in order to be compatible.
49f819a7a7