A simple javascript framework using MVC architecture