Architecture for JavaScript

Not MVC architercure for just JavaScript.