revert ee4cb18
Modify installDocumentReadyPageEventTriggers() to not crash on IE8