Fixed JSON errors with spreadsheet loading JS