* fixed an issue where the restore of js fields did not always correspond with field/values previously present in the form.

Change-Id: I6c55a6391c288650f007d6a4bb33a439f84953e8