Model data on the client side before sending it off to the server.