Make spreadsheet.js call chain of ajax requests

-Instead of calling one at a time
-Deletes all rows from table at once after ajax calls are done
processing