added the core code that must be loaded with the spreadsheet to the UserINterface.js