Using jQuery and other JavaScript Libraries in Sitefinity

Ever since Sitefinity 4 was released, developers were coming up with new approaches to include JQuery libraries and plugins in their Sitefinity websites.  The unpleasant fact is that their JavaScript code did not work under all circumstances. To make your plugins or libraries load in good order, your JavaScript code has to work when: You ...