Cleaner code ConstraintJS enables constraints — relationships that are declared once & automatically maintained. These constraints can make writing dynamic apps easier. Lightweight ConstraintJS is small (about 10kb) and works well with other JavaScript libraries like jQuery. Simple syntax ConstraintJS's API is very learnable and includes features for dynamic handlebars-like templates.