code: function(el, data) {
      var dataupdateScope = $(el).data().reactOnDataupdate;
      var templateScope = $(el).data().templateScope;
      var userinputScope = $(el).data().reactOnUserinput;
      if (data) {
        $myelements.doRender(el, data);
      } else if (!data && templateScope) {
        $myelements.recoverTemplateScopeFromCache(el, templateScope);
        return;
      } else if (!data && dataupdateScope) {
        $myelements.recoverTemplateScopeFromCache(el, dataupdateScope);
        return;
      } else if (!data && userinputScope) {
        $myelements.recoverTemplateScopeFromCache(el, userinputScope);
      }
    }
docs: Updates the data associated to an element trying to re-render the template
  associated to the element.
  with the values from 'data' as scope.
  
  If data is empty, it tries to load data for this element
  from browser storage (indexedDB/localStorage).
  
  @param {HTMLElement} el. The element the update affects.
  @param {Object} data. If not undefined, this object is used
  as the scope for rendering the innher html of the element as a template