Update app/assets/javascripts/spreadsheet.js

adding the js code regarding the spreadsheet header tabs