Loading toastr after the DOM is ready

I had the same problem a couple of times where I would add toastr to my app, no errors would show up in the console, however the notifications would not be displayed.

The problem was the order the scripts were being loaded.
I was loading toastr in the head, before the DOM was ready

Wouldn't be better to show the error on the console when toastr is being loaded in the wrong place in the page instead of leaving the users wondering what might be wrong?

This would not affect performance since toastr needs the DOM ready to get a reference to the $(body) either way