title: Refactoring monsterous JavaScript-project
body: <p>I've found myself from the monstrous JavaScript-project. I haven't seen any references to known design patterns and code files consists of 5000+ rows of messy code. Usual length of the function is about 100 lines. Also namespaces are messy. Any ideas how to get any sense for this project?</p>
  
  <p>I've been trying to read the source code, but there are no comments whatsoever. Also there are no tests, so making changes is a matter of luck.</p>
  
  <p>Abandoning the project is not a choice.</p>
  
  <p>Are there any nice tools for helping? At the moment I'm using sublime &amp; Chrome.</p>