Update form-generator.js