title: How to get data attributes from a jstree element
body: <p>Simple jstree list with data attributes:</p>
  
  <pre><code>&lt;div id="jstree1"&gt;
      &lt;ul&gt;
          &lt;li class="jstree-files jstree-open" data-file-id=716 data-size=1088&gt;list_elemnt1&lt;ul&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I can successfully get the path:</p>
  
  <pre><code>$(document).ready(function () {
              $('#jstree1').on('changed.jstree', function (e, data) {
                  var path = data.instance.get_path(data.node, '/').replace('//', '/');
              });
          });
  </code></pre>
  
  <p>but I just can't find the proper way to fetch the data attributes (<code>data-file-id</code>, <code>data-size</code>)</p>
  
  <p>Looked all over in both <code>e</code> and <code>data</code> to no avail.</p>