MVC Framework for Javascript