code: function updateLayout() {
        var layout = generator.layoutTemplate(newpage);
        $layout.html(generator.renderLayout(newpage));
        $layout.attr('data-render-layout', layout);
        log('jqueryview updateLayout', path, query, hash);
        generator.emit('update-view', path, query, hash, window, $layout);
      }
docs: /// helper functions /////