JS client to fill-in a form instance and access its results