Thanks for the response.
You are true that a .js file is executed in your browser instead of the
server and therefore can be considered to fall under the same requirements as
if I were to run a program locally. When you refresh that site, the server
should give a 304 "Not Modified" message and the JavaScript file should
execute from your cache instead of pulling from the server each time.
When you talk about JavaScript being run server side, it is actually pretty
common these days with Node.js. I use it for a few projects and find it
pretty fast and easy to code.