While search engines, as Wullie points out, will not read a .js file, .js files do have an up side. They do reduce the number of lines of code that a search engine has to parse and ignore before it gets to your content. Do a search on ".js search engines" in any of the major search sites and you will get ample examples of what I'm talking about.
mike