Google Spreadsheet Integration: Undefined spreadsheet error