Google Apps Script magic to create a synchronizable Spreadsheet object