Javascript Anti-MVC Minimalist Model-View Binder (37 SLOC). Set actions (callbacks) to be called when a model is updated. Periodically sync the model. That's all.