title: Creating Dojo Memory causes Uncaught TypeError: Cannot read property 'style' of null
body: <p>I am trying to create a simple worklight application, but trying to create a new <code>Memory</code> causes an:
  <code>Uncaught TypeError: Cannot read property 'style' of null at mobile-ui-layer.js:378</code></p>
  
  <p>Which seems quite odd since I don't get what creating a Memory object has to do with styling.</p>
  
  <p>When debugging in Chrome I get it immediately after the <code>var testStore = new Memory({data:storeData})</code> line .</p>
  
  <pre><code>require (
                      ["dojo", 
                      "dojo/parser", 
                      "dojo/_base/xhr",
                      "dijit/form/ComboBox",  
                      "dojo/store/JsonRest", 
                      "dojo/ready",
                      "dojox/mobile/EdgeToEdgeStoreList",
                      "dojox/mobile",
                      "dojox/mobile/parser",
                      "dojox/io/xhrWindowNamePlugin",
                      "dojox/io/windowName", 
                      "dojox/io/xhrPlugins", 
                      "dojo/dom-style", 
                      "dojo/dom", 
                      "dojo/dom-class", 
                      "dojo/_base/Deferred",
                      "dojo/store/Memory"], function(JsonRestStore, EdgeToEdgeStoreList, xhrPlugins, Memory) {
  
              storeData = [
                                   { "label": "Wi-Fi", "icon": "images/i-icon-3.png", "rightText": "Off", "moveTo": "bar" },
                                   { "label": "VPN", "icon": "images/i-icon-4.png", "rightText": "VPN", "moveTo": "bar" }
                               ];
                      var testStore = new Memory({data:storeData});
                      var testList = new dojox.mobile.EdgeToEdgeStoreList({store:testStore}, "testList");
                      storeList.startup();
              });
  </code></pre>
  
  <p>For reference: it's worklight 5.0.5</p>