I put blocks which use jQuery in the body of one (and only one) cshtml file which uses the template and they causes error because jQuery is not loade
It's a best practice to load your javascript files after every possible HTML element.
Knowing this, I would place your document ready handler after loading all libs.