DHH has mentioned during one of his talks that the javascripts folder of any project has an unfortunate tendency to become a “junk drawer” of sorts. The plethora of javascript frameworks and plugins combined with a lack of built-in module support makes this kind of inevitable.
Over the last couple of months I started feeling this way about the current project we are actively developing, Salesguide. While Rails’ MVC design has kept us reasonably disciplined in our server-side code, there is a distinct lack of conventions for javascript.

