Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).
Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.
It does not use a Javascript framework.