patch fixes #106 Using document mode of IE9