wrap the ie10 doc domain fix in a try so it doesn't break chrome