Add IE_DOCUMENT_MODE into the Chosen object

Avoids adding another global variable