Provide native documentReady event support that doesn't require jquery