Jamal at gos.i
Embed this image by adding following code in your web-page.
  <a href="http://getopensource.info/jamal" title="Jamal at getOpenSource.info">
    <img src="http://getopensource.info/jamal/svg/jamal.svg" alt="Jamal at gos.i" />
  </a>

Jamal

Javascript MVC Library based on jQuery

Jamal is a set of conventions and small javascript libraries to archieve a complete separation of html, css and javascript in your web application. Jamal is built on jQuery and inspired by MVC frameworks like Ruby on Rails, CakePHP and its derivatives.

So Jamal tries not to stand in your way and helps you to organize your javascript code. Javascript code is likely held in functions and used to end up in spaghetti.