One thing to remember when you obtain free JavaScripts for use on your site is that there is no reason why you need to continue running the same version of the script forever. When a more modern version of the script is made available as a free download you can always update your page to replace the old script with the new one. This is particularly easy where the new version of the script is offered as a direct replacement for the script you are currently using but shouldn't be all that hard even if you get it from a completely different source.
The number and variety of scripts offered for free download means that no matter what sort of JavaScript that you want to add to your page that you should be able to find several sites offering one or more variations on such scripts without any need to consider a site that charges for their script.It will only be when you get to the stage where you require a script that directly interacts with custom code within your web page itself (such as for form field validation) that you will be unable to find a free JavaScript download that does everything for you without your having to code any of it yourself. Even in situations where you do require custom interactions you should be able to find free downloads that provide you with pieces of code that will do at least a part of what you need your custom script to perform along with instructions on how to attach such code fragments together to do what you require.
Even those who move on to writing their own JavaScript rather than relying on pre-written free downloads can make use of free downloads as along with complete scripts for performing a variety of simple tasks, there are also code libraries available as free downloads that will provide common functionality that will make writing your own JavaScript much easier.
One of the biggest advantages that JavaScript has for those wanting to learn programming is that it is all free. You don't need to pay for anything in order to get started in programming with JavaScript. The JavaScript language itself is built into all the browsers you need for testing the scripts you write and there are plenty of free JavaScript downloads of complete scripts and libraries that you can either use as is or examine to see how things work in order to write your own code.

