An MVC framework for JavaScript applications