Create form models in Javascript.