Javascript - Form model

Create a data model based on a form's input values. When the form submits, send the model values to the server and update it with any responses. Bind the model to the inputs (2-way)