Cover all the document load/DOMContentLoad events.

Fixes issue with mapping load/DOMContentLoad events