#StikJS - From jQuery hell to pluggable components
Libraries like MooTools and jQuery are excellent solutions for the problem they try to solve. But your JS codebase can get pretty hairy very easily since they are only meant to touch the DOM and not organizing and testing your code.
This is the story of how I refactored a project out the jQuery code jungle into a testable and reusable codebase by building a JavaScript client-side framework that supports server-side rendering.