Question: I have a number of projects that could benefit from JavaScript. I've seen a lot of "Oh, you can use JavaScript for that!", but little detail about how and where that's done. Does the script live on a server somewhere or is it just embeded with a cut-and-paste via the "edit HTML source" button?

Looking for some guidance on the best place within the sites/farms from which to run scripting.

Answer: 
The best approach is to create a Scripts document library, preferably with versioning enabled to store your JavaScript files. Then on the pages you'd like to use them, add a Content Editor web part to the page and use the link box to point to your javascript files.
Here are a couple resources you may find useful:

[The SharePoint & jQuery Guide](http://sharepointhillbilly.com/Lists/Posts/Post.aspx?ID=16)

[SharePoint Client-Side Development with the JSOM and jQuery](https://vimeo.com/29124752)