Javascript library with MVC capabilities