MVC javascript framework