Google appscript code for exposing spreadsheet data