I just dumped everything in a file called xtools/xlib/stdlib.js. Other things went into different files in the same folder. Then I use the almighty grep(1) to find what I want. Simpler is betterer.
I'm unorganized except I try to put all my scripts into a dropbox so I can have them on multiple machines.
If your text editor doesn't have a Find in files command. I would get a better text editor. I grew up on Visual Studio and am always going back to it just for that command.
When that doesn't work I search all my drives and go get some coffee.