old_contents: // Copyright 2019 Google LLC
  //
  // Licensed under the Apache License, Version 2.0 (the "License");
  // you may not use this file except in compliance with the License.
  // You may obtain a copy of the License at
  //
  //     https://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an "AS IS" BASIS,
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  // See the License for the specific language governing permissions and
  // limitations under the License.
  
  /**
    * Fetch vendor IDs from VendorServlet and add them to the
    * Customer ID dropdown.
    */
  async function populateCustomerList() {
    // TODO: Implement functionality for hashmap parsing instead of simple array.
    var response = await fetch('/VendorServlet');
  
    // Response is a json array that is parsed into json.
    var customerJson = await response.json();
  
    console.log(customerJson);
  
    // Loops over this array to make the options for the Customer ID dropdown.
  
  
    // Commented out for now because it was causing an error.
  
    /** 
    var vendorHtml = '';
    for (var i = 0; i < customerJson.length; i++) {
      vendorHtml += '<option value="' + customerJson[i] + '">'
      + customerJson[i] + '</option>';
    }
  
    // Adds the options to the page, allowing them to be viewed. 
    document.getElementById('customer-ids').innerHTML = vendorHtml;
    */
  }
  
  /**
   * Fetch a json configuration as a string and formats it to be shown on
   * the readfile page.
   */
  async function addConfigToPage() {
    // TODO: Add query string support to sent to servlet.
    var vendorID = document.getElementById('customer-ids');
    
    // Fetch the json configuration and format it to print on the page. 
    fetch('/BillingConfig')
      .then(response => response.json())
      .then(data => document.getElementById('json-text').innerText = 
      JSON.stringify(data, undefined, 4));
      
  }
  
  // TODO: Method to populate edit form.
  async function populateEditForm() {
  
  }
  // TODO: Method for enums: Check which of the tags has data under it {isLoggedIn:{loginURL},isLoggedOut:{logooutURL}}}
  async function checkLoginStatus() {
    
  }
  
  // TODO: Delete config function. /BillingConfig --> doDelete
  async function deleteConfiguration() {
  
  }
  
  // TODO: Create config and redirect/populate edit form. 
  async function createConfiguration() {
  
  }
  
new_contents: // Copyright 2019 Google LLC
  //
  // Licensed under the Apache License, Version 2.0 (the "License");
  // you may not use this file except in compliance with the License.
  // You may obtain a copy of the License at
  //
  //     https://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an "AS IS" BASIS,
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  // See the License for the specific language governing permissions and
  // limitations under the License.
  
  /**
    * Fetch vendor IDs from VendorServlet and add them to the
    * Customer ID dropdown.
    */
  async function populateCustomerList() {
    // TODO: Implement functionality for hashmap parsing instead of simple array.
    var response = await fetch('/VendorServlet');
  
    // Response is a json array that is parsed into json.
    var customerJson = await response.json();
  }
  
  /**
   * Fetch a json configuration as a string and formats it to be shown on
   * the readfile page.
   */
  async function addConfigToPage() {
    // TODO: Add query string support to sent to servlet.
    var vendorID = document.getElementById('customer-ids');
    
    // Fetch the json configuration and format it to print on the page. 
    fetch('/BillingConfig')
      .then(response => response.json())
      .then(data => document.getElementById('json-text').innerText = 
      JSON.stringify(data, undefined, 4));
      
  }
  
  // TODO: Method to populate edit form.
  async function populateEditForm() {
  
  }
  // TODO: Method for enums: Check which of the tags has data under it {isLoggedIn:{loginURL},isLoggedOut:{logooutURL}}}
  async function checkLoginStatus() {
    
  }
  
  // TODO: Delete config function. /BillingConfig --> doDelete
  async function deleteConfiguration() {
  
  }
  
  // TODO: Create config and redirect/populate edit form. 
  async function createConfiguration() {
  
  }
  
subject: remove commented out section from appscript.js