Google App Script: Dynamically add new rows in Google Sheets