Add function to know where to insert the node in jstree
Add xmltools as jQuery plugin
jQuery 1.9 compatibility