Log to the console when the document is loaded

I'm not currently seeing any events from the JS API so I'm going to log
this to see if I'm getting anything.