Modifie test files and gadgetfield js with the new formulator GadgetField

Use field key instead of field id