Improved the spreadsheet plugin
Updated js with latest changes