JS client to manipulate form models