Creating form elements dynamically using Google Apps Script (GAS)