Should I disallow crawling of all of my site’s JavaScript files?

Googlebot keeps crawling my JavaScript and thinking that text in my scripts refers to URLs. Can I just disallow crawling of my JavaScript files to fix that? …