Update app/assets/javascripts/spreadsheet.js

fixing spreadsheet tabs problem