code: public static StorageExt getLocalStorage() {
      if (localStorage == null && Storage.isLocalStorageSupported()) {
        localStorage = new StorageExt(Storage.getLocalStorageIfSupported());
      }
      return localStorage;
    }
docs: Returns a Local Storage.
  
  @return the localStorage instance, or <code>null</code> if Web Storage is NOT supported.