I've tried a few methods of keeping my JS clean / maintainable and none of them make me 100% happy.
Often, I try and check out many of the top brand sites to examine their code, and find it's been minified and/or packed. This obviously stops me from reading the code, because it's not in a human readable format.
So are there any sites which have great code to examine, or any articles out there that cover JS in a website from start to finish (not coding JS in particular, just deployment / breaking it up / namespacing etc)