If you put the JavaScript files at the top of the <body> or in the <head>, it would block the page rendering.
However, if you added the JS files at the bottom, right before the </body>, your style, content and media will start downloading more quickly, giving the perception of improved performance.
Exception from the rule:
- If you use a Google Analytics script tag, which tracks user activity from the very beginning of your page load, you might want to put in the <head> of the HTML file.
- But, keep in mind that might slow your website.