/**
 * Copyright IBM Corp. 2016
 * Licensed under the MIT License.
 */
console.log("Loaded Verse Developer page. Waiting for WidgetRegistryReady...");
document.addEventListener("WidgetRegistryReady", function(event) {
  console.log("Received WidgetRegistryReady.");
  var widgetRegistry = event.widgetRegistry;
  if(!widgetRegistry) {
    console.error("Fail to get widgetRegistry!");
    return;
  }

  var jsonString = localStorage.getItem('applications-json');
  if(jsonString) {
    console.log("Loaded applications-json: ", jsonString);
    var apps = [];
    try {
      apps = JSON.parse(jsonString);
    } catch (error) {
      console.error("Fail to parse applications.json: %O", error);
    }

    // the applications.json file can define an array of applications or a single application
    if(apps instanceof Array) {
      apps.forEach(function(appObj) {
        try {
          console.log("Registering: %O.", appObj);
          widgetRegistry.addWidgetFromJSON(appObj);
        } catch (error) {
          console.error("Fail to add an application %O from applications.json file: %O", appObj, error);
        }
      });
    } else {
      widgetRegistry.addWidgetFromJSON(apps);
    }
  } else {
    console.error("Fail to read applications.json.");
  }
}, false);

@@ -520,17 +520,18 @@
 -json: %22
-,
+ +
  jsonStr
@@ -914,17 +914,16 @@
 ring: %25O
-.
 %22, appOb

Update page.js