JavaScript Framework based on MVC Model