function getLicenses() {
  console.log("google.payments.inapp.getPurchases");
  statusDiv.text("Retreiving list of purchased products...");
  google.payments.inapp.getPurchases({
    'parameters': {env: "prod"},
    'success': onLicenseUpdate,
    'failure': onLicenseUpdateFailed
  });
}
**************************************************************************
Get the list of purchased products from the Chrome Web Store
***************************************************************************