Does anybody have a good way to get a list of all Javascript functions in a DB?

I’ve got a database app that I’m trying to clean up. I’ve got javascript functions written as passthru HTML on forms, and subforms. It’s in JS Headers, it’s in pages used as script libraries and in js script libraries as well.

Lots of functions have duplicate names but different code and lots of duplicate js functions are in duplicate places.

Have you ever had to organize something like this? How would you attack it?