Really simple javascript form validation. Scalable and decoupled from UI.