Tests: <Document>.onReady()

Attach event:

Usage: <Document>.onReady(callback <Function>)

Note: This attaches and event listener to the document object, to be called, when the DOMContentLoaded event occurs.