title: jsTree create node dynamically - doesn't work
body: <p>I try to create a node dynamically, the closes I got is:</p>
  
  <pre><code>$('#jstree_cats_div').jstree(
      "create_node", parent, position, newNode, false, false);
  </code></pre>
  
  <p>which throws an exception:</p>
  
  <pre><code>TypeError: Object #&lt;Object&gt; has no method 'match'
  </code></pre>
  
  <p>I couldn't find any working example... all the jsfiddel example on other questions are not working, seems like they all using old API (my guess)</p>
  
  <p>also the 'create' in the demo in jsTree web site <a href="http://www.jstree.com/demo" rel="nofollow">http://www.jstree.com/demo</a> doesn't work.</p>
  
  <p>Please supply a working example of adding a node dynamically.</p>
  
  <p>Thanks</p>